question

omniby_45 avatar image
0 Likes"
omniby_45 asked

eBay Browse API limiting the number of category_ids to 1, but documentation says you can add multiple category_ids

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:

https://api.ebay.com/buy/browse/v1/item_summary/search?category_ids=58058,11700,293,15032,1249,625&filter=sellers:{foo}&limit=100&sort=newlyListed

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

browse api
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
clickimusprime avatar image
0 Likes"
clickimusprime answered

"Note: Currently, you can pass in only one category ID per request."

· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I noticed that, but that begs the question of how it's possible to send category_ids as a string array.


Is this something that is currently not supported, but there is plan to support it?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.