question

lord_juju avatar image
0 Likes"
lord_juju asked ·

getitem gives error2003, getItemByLegacyId works fine

My code is identical except for the lines below. If I use the first line, it will not work (error 2003).

If I use the second line it works fine, and I get all the item details. This is the case for all items I have tried - the item listed below is just the most recent example. All other code is identical in the script. Any ideas on what I might be doing wrong? Thanks


https://api.ebay.com/buy/browse/v1/item/v1|284059560866|0?fieldgroups=PRODUCT


https://api.ebay.com/buy/browse/v1/item/get_item_by_legacy_id?legacy_item_id=284059560866

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

lord_juju avatar image
0 Likes"
lord_juju answered ·

I found out what it was - the 'pipe' in the item id wasn't encoded. Obviously the legacy id has no pipe, so this didn't throw up an error

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

vertika_developersupport avatar image
0 Likes"
vertika_developersupport answered ·

Hi @lord_juju,


I just tried the call for below request and it worked fine. Can you please retry the call and if issue still persists please let us know with latest rlogID from the response header.

https://api.ebay.com/buy/browse/v1/item/v1|284059560866|0


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.