Support Forum [ All Topics | New Topic ]

Thread: Instant inventory

Hello,
In the past few days I can't use your platform on my wix website. I have the error 3001 as you can see inside this payload:
response: {header: {error_code: 3001, error_message: "unspecified error"}, body: {}}" when I'm calling https://technet.rapaport.com/HTTP/JSON/RetailFeed/GetSettings.aspx
I didn't change anything in my code and before it worked like a charm. Is there something that I need to change? The error message isn't really relevant to help me on this issue can you help me to debug ?
Have a nice day,
Jeremy


>> add a comment
Jeremy
02/24/2021 08:22


11 Replies:

Hi Jeremy 
Error 3001 means there is an issue with your format.
It may be because there is a space before your input parameter 
Please can you send me a copy of your code so I can troubleshoot 

Thanks 

>> add a comment
Tech support
2/28/2021 3:26:00 AM
 <div id="diamondsearch" data-apikey="xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx" data-theme="#483f8e" data-responsive="yes" data-prices="yes" data-contact="yes" data-ecomm="yes" data-count="30" class="widget-settings"></div>
<script src='//www.diamondselections.com/Embed/client_assets/initdiamondsearch.js'></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
(function(d, w) {
function observeAddToCart() {
jQuery(w).on('ds.addtocart', onDiamondClick);
}
function onDiamondClick(event, data) {
let loadedData = loadData(data);
window.parent.postMessage(loadedData, "*");
}
function loadData(data) {
return data;
}
if (d.addEventListener) {
d.addEventListener('ds.ready', function() {
observeAddToCart()
}, false);
} else if (d.attachEvent) {
d.documentElement.attachEvent('onpropertychange', function(event) {
if (event.propertyName === 'ds.ready')
observeAddToCart()
});
}
}(document, window));</script>
I replaced my key with Xs
Thanks


>> add a comment
Jérémy
2/28/2021 4:34:00 AM
Hi Jeremy 
Do you have a RapNet account so I can contact you ?

Thanks 

>> add a comment
Tech support
3/1/2021 5:05:00 AM
Hi,

Account number 117579

Thanks

>> add a comment
Jeremy
3/2/2021 9:05:00 AM
Please contact me only by message, I can’t take you by phone.

Thanks

>> add a comment
Jeremy
3/2/2021 10:25:00 AM
Do you have any way I can remote into your computer ?
Skype
anydesk or teamviewer ?
Thanks

>> add a comment
Technical support
3/2/2021 10:30:00 AM
HI Jeremy
Lets go back to basics
1) please use the following code is wix 

<div id='diamondinstantinventory' data-apikey=' ' height='100%' width='100%'></div> <script src='https://instantinventory-widgets-cl59s.s3.amazonaws.com/diamonds/1.0.0/widget.js'></script>
Use your API Key

This code is found in Instant inventory 
Actions  > Publish to my website 

Result should be a small widget 

Lets get that going and then we will modify the code 

Thanks 



>> add a comment
Technical support
3/2/2021 10:34:00 AM
Instant inventory widget is very limited, I don't want to use this widget.
I send you my login and password by mail for TeamViewer.
Thanks


>> add a comment
Jeremy
3/2/2021 11:05:00 AM
Contact me tomorrow for TeamViewer.
thank you for help.


>> add a comment
Jeremy
3/2/2021 11:16:00 AM
Hi Jeremy 

The other way of setting up Instant inventory is by using our widgets 
Here is the URL link to give you more information 

https://technet.rapaport.com/Info/RapLink/ApiChecking.aspx


and some sample codes 
https://technet.rapaport.com/Info/SampleCodeByLanguage.aspx

Thanks 


>> add a comment
Technical support
3/3/2021 4:02:00 AM
The other way of setting up Instant inventory is by using our API's 
Here is the URL link to give you more information

https://technet.rapaport.com/Info/RapLink/ApiChecking.aspx


and some sample codes
https://technet.rapaport.com/Info/SampleCodeByLanguage.aspx

Thanks


>> add a comment
Technical support
3/3/2021 4:03:00 AM