Support Forum [ All Topics | New Topic ]

Thread: No DIamon Found Using Instant Inventory

Getting Below error on using instant inventory 

{
"response": {
"header": {
"error_code": 4001,
"error_message": "No Diamond was found"
},
"body": {
}
}
}

My code as below


jQuery.ajax({
url: 'https://technet.rapaport.com/HTTP/JSON/RetailFeed/GetDiamonds.aspx',
type: 'POST',
data: JSON.stringify({
"request": {
"header": {
"username": "xxxx",
"password": "xx"
},
"body": {
"search_type": "White",
"shapes": ["Round", "Pear", "Princess", "Marquise", "Oval", "Radiant", "Emerald", "Heart", "Cushion", "Asscher"],
"size_from": 0.01,
"size_to": 18,
"color_from": "D",
"color_to": "M",
"clarity_from": "IF",
"clarity_to": "I1",
"cut_from": "Excellent",
"cut_to": "Fair",
"polish_from": "Excellent",
"polish_to": "Fair",
"symmetry_from": "Excellent",
"symmetry_to": "Fair",
"page_number": 1,
"page_size": 20,
"price_total_from": 100,
"price_total_to": 100000,
"labs": ["GIA", "IGI", "AGS", "HRD", "NONE", "CGL"],
"sort_by": "price",
"sort_direction": "Asc"
}
}
}),
contentType: "text/plain",
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
contentType: 'application/x-www-form-urlencoded',
success: function (data) {
console.log(data);
},
error: function (data) {
console.log(data);
}
});


>> add a comment
gaurav
01/13/2019 09:11


2 Replies:

Guarav,
Hello.
The error 'No Diamond was found'  message is correct, as the RapNet Instant Inventory feed is not completed, so did not select any diamonds yet.   

Check here (  https://trade.rapnet.com/#/InstantInventory/Feeds/  )  and notice the Main diamond feed status is "In progress."

I checked the 'Main Feed' and found the Suppliers portion of the feed was not successfully completed.

Please edit the Feed again and complete the suppliers and save the feed.  The status should not show 'Completed' here (  https://trade.rapnet.com/#/InstantInventory/Feeds/ )

Then wait up to hours for the feed selection to refresh and check again.  The feed diamonds are refreshed and re-selected every four hours.

Please let me know at tech@diamonds.net of any more questions or this do not work,
Zalman


>> add a comment
Tech customer support - Zalman
1/13/2019 9:38:00 AM
Guarav - This is a correction to a paragraph from the last answer -- 

Please edit the Feed ' Main diamond list' again, click 'Next' button twice, and complete the Suppliers. Then click 'Next' twice and click the 'Publish' button to finish the feed.

When go back to here ( https://trade.rapnet.com/#/InstantInventory/Feeds/ ) - the feed  status should now show 'Completed' .


>> add a comment
Tech customer support = Zalman
1/13/2019 9:49:00 AM