Reputation: 937
When performing a GET request to the eBay browse API I am getting the following error message:
<class 'list'>: [{'errorId': 12030, 'domain': 'API_BROWSE', 'category': 'REQUEST', 'message': 'The number of categories in the request has exceeded the limit. Please reduce the number of categories to 1 or less.', 'parameters': [{'name': 'allowedMaxCategories', 'value': '1'}]}]
Here is the URL of the request I am trying to make:
However, the documentation for the Browse API suggests that you can pass category_ids as a string array separated by commas.
The category ID is used to limit the results. This field can have one category ID or a comma separated list of IDs.
Here is a link to the documenation for the Browse API:
https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search#h2-input
Upvotes: 0
Views: 494
Reputation: 38
I have tested your code in eBay api explorer, i received warning response of your defined filters not category, after corrected filters i received success response with records.
Check this query
https://api.sandbox.ebay.com/buy/browse/v1/item_summary/search?category_ids=58058,11700,293,15032,1249,625&limit=100&sort=newlyListed&filter=sellers:%7Bfoo%7D
NOTE: the seller foo
not found so return success with 0 record but without seller or a valid seller id return success with records
Upvotes: 0