question

alpo_1562 avatar image
0 Likes"
alpo_1562 asked ·

filter conditionIds not working

Hello,

Running the following filter results in a following error

https://api.ebay.com/buy/browse/v1/item_summary/search?q=bicycle&limit=1&filter=conditionIds:{1000}

{
"category": "REQUEST",
"domain": "API_BROWSE",
"errorId": 12002,
"message": "The conditionIds filter value is invalid. For the valid values, refer to the API call documentation.",
"parameters": [
{
"name": "fieldName",
"value": "conditionIds"
},
{
"name": "filterValue",
"value": "1000"
}
]
}

I also tried to use conditions with NEW value with the same result.
Am I missing something here or the documentation is wrong?

Thanks in advance.

filters
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.

clickimusprime avatar image
0 Likes"
clickimusprime answered ·

Try rawurlencode on the parameter value. &filter=conditionIds%3A%7B1000%7D

Braces are considered unsafe and can break some transport paths, which seems to be happening here. RFC 1738.


· 1 · Share
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.

You are correct!

Thanks for assistance
0 Likes 0 ·
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered ·

Hi @alpo_1562,

I just tried the call with conditionIds filter and it gave successful outcome. Please retry the call for following url's:

https://api.ebay.com/buy/browse/v1/item_summary/search?q=bicycle&limit=1&filter=conditionIds:{1000}

https://api.ebay.com/buy/browse/v1/item_summary/search?q=bicycle&limit=1&filter=condition:{NEW}

Best Regards ,
eBay Developer Support

· Share
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.

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.