question

wemakeitallwork avatar image
0 Likes"
wemakeitallwork asked

Item_Summary Bug

Yesterday, I found two bugs:

1) JSON response shows "total":2, however, only one listing included.

2) JSON response shows "total":1, however, no listings included.

Rare occurrences, however, it did happen. Now we need to code to anticipate this issue.

apisearchbrowse apibugbug reportbug-notification
10 |600

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

wemakeitallwork avatar image
0 Likes"
wemakeitallwork answered
10 |600

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

wemakeitallwork avatar image
0 Likes"
wemakeitallwork answered

I tried to post the second example, however, it's needs to be reviewed by a moderator? Maybe due to length.

10 |600

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

wemakeitallwork avatar image
0 Likes"
wemakeitallwork answered

EXAMPLE: Total=2, however, only one listing returned:

{"href":"https://api.ebay.com/buy/browse/v1/item_summary/search?q=Fender&limit=100&category_ids=619&filter=buyingOptions%3A%7BFIXED_PRICE%7CBEST_OFFER%7CAUCTION%7D%2CitemStartDate%3A%5B2021-10-07T23%3A20%3A57Z%5D&sort=newlyListed&offset=0","total":2,"next":"https://api.ebay.com/buy/browse/v1/item_summary/search?q=Fender&limit=100&category_ids=619&filter=buyingOptions%3A%7BFIXED_PRICE%7CBEST_OFFER%7CAUCTION%7D%2CitemStartDate%3A%5B2021-10-07T23%3A20%3A57Z%5D&sort=newlyListed&offset=100","limit":100,"offset":0,"itemSummaries":[{"itemId":"v1|115034630969|0","title":"Used Fender Jimi Hendrix Stratocaster Olympic White 2015","image":{"imageUrl":"https://i.ebayimg.com/thumbs/images/g/3FoAAOSwjo5hX2qd/s-l225.jpg"},"price":{"value":"1292.04","currency":"EUR"},"itemHref":"https://api.ebay.com/buy/browse/v1/item/v1%7C115034630969%7C0","seller":{"username":"creamcitymusic","feedbackPercentage":"99.8","feedbackScore":99388,"sellerAccountType":"BUSINESS"},"condition":"Used","conditionId":"3000","thumbnailImages":[{"imageUrl":"https://i.ebayimg.com/images/g/3FoAAOSwjo5hX2qd/s-l1600.jpg"}],"shippingOptions":[{"shippingCostType":"FIXED","shippingCost":{"value":"103.79","currency":"EUR"}}],"buyingOptions":["FIXED_PRICE","BEST_OFFER"],"itemAffiliateWebUrl":"https://www.ebay.ie/itm/115034630969?<xxx...xxx>","itemWebUrl":"https://www.ebay.ie/itm/115034630969?hash=item1ac8992b39:g:3FoAAOSwjo5hX2qd","itemLocation":{"postalCode":"000**","country":"US"},"categories":[{"categoryId":"33034"},{"categoryId":"619"},{"categoryId":"3858"}],"additionalImages":[{"imageUrl":"https://galleryplus.ebayimg.com/ws/web/115034630969_2_0_1/225x225.jpg"}],"adultOnly":false,"legacyItemId":"115034630969","availableCoupons":false,"topRatedBuyingExperience":false,"priorityListing":false}]}

10 |600

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

wemakeitallwork avatar image
0 Likes"
wemakeitallwork answered

I was able to post the 2nd example by removing some "additionalImages" to shorten.

10 |600

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

joes_us_cv68ey5b0i avatar image
0 Likes"
joes_us_cv68ey5b0i answered

Did you ever find a solution to this? I'm trying to set up pagination for my app and the inconsistent totals are making it difficult.

10 |600

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

michab2003 avatar image
0 Likes"
michab2003 answered

it may sound crazy, but it´s ebay, so don´t be surprised when this behavior is "intended" to be that way. eBay's biggest fear is everybody who scraps data and uses that in a way, ebay does not want it to get used. it sounds not logical, an API is there to provide data. but how to provide data and make sure at the same time, that nobody is able to build something like a repricer ? simple:

- deliver inconsistent data
- deliver random data
- deliver data from different servers/caches (that may cause the first 2 issues)
- limit calls
- limit filters
- limit the result
- limit everything

so every developer with a healthy functioning brain will see this as a bug.
but if you know how ebay is ticking, I really wouldn´t be surprised if all that is wanted.

I don´t have proof, but there were a lot of undocumented changes in the past that mirror this kind of attitude, quietly removing features and changing the result of existing calls.

you won´t get any feedback anyway, so don´t invest too much time into this.
at the end, ebay does not care if a call is working for you. take it or leave it, that´s the way
it works here.

· 2
10 |600

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

joes_us_cv68ey5b0i avatar image joes_us_cv68ey5b0i commented ·

Is there any way to contact support about this, or file a bug report that will actually get heard? My client complained in the past about all the Ebay devs she found dropping support for their apps and leaving, now I finally understand why. If this really is an attempt to obfuscate data to avoid crawlers or aggregators, whoever thought it up should be fired. Security through obscurity is one of the first things they teach you NOT to do in cyber-security, right after publicly tweeting your password and login details.

0 Likes 0 ·
michab2003 avatar image michab2003 joes_us_cv68ey5b0i commented ·

sure, ebay is so kind, if you really want to get feedback (in less than 3 years), u can pay for it. amazing, isn´t it ? you have to pay to tell them about their issues - it´s so damn funny, I can always laugh while writing that ;-)))) the support only has copy&paste answers here in the forum which is mostly completely useless. anyway... feel free to open a (paid) ticket via your developer account. and if you don´t provide header+body of your request, you won´t even get any feedback there as well, so be warned ;)

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.