cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ebay search by image API always No products found. Please try another image.

My search by image always return result

No products found. Please try another image.

how to fix it?
Message 1 of 3
latest reply
2 REPLIES 2

Re: ebay search by image API always No products found. Please try another image.

Hi @stylelist,

 

We are able to execute the searchByImage call successfully and getting the items in the response as well. 

 

You can find the cURL code snipped for the request below: 

curl --location 'https://api.ebay.com/buy/browse/v1/item_summary/search_by_image' \
--header 'X-EBAY-C-MARKETPLACE-ID: EBAY_US' \
--header 'Authorization: Bearer v^1.1#i^1#r^0#p^1#f^0#I^3#t^H4' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
    "image": "The Base64 string of the image"
}'

 To get the Base64 image string, you can use sites such as https://codebeautify.org/image-to-base64-converter.

Best Regards,
eBay Developer Support
Message 2 of 3
latest reply

Re: ebay search by image API always No products found. Please try another image.

I implement it and got success  Found 50 items.

Working on the results display and while testing  i tried search many times ....

I got  the following response below, at the same time text search is working and get search results 

[22-Nov-2024 11:50:22 UTC] API Response: {"errors":[{"errorId":12000,"domain":"API_BROWSE","category":"APPLICATION","message":"There was a problem with an eBay internal system or process. Contact eBay developer support for assistance."}]}
[22-Nov-2024 11:50:22 UTC] Error from eBay API: [{"errorId":12000,"domain":"API_BROWSE","category":"APPLICATION","message":"There was a problem with an eBay internal system or process. Contact eBay developer support for assistance."}]

Message 3 of 3
latest reply