Replies: 12 comments
-
@yovasx2 Does there seem to be any correlation to whether this happens with there is a new image being uploaded versus an image_id being provided to the endpoint to replace an existing image? Or does it not matter? |
Beta Was this translation helpful? Give feedback.
-
it's always uploading a new file no lisitng_image_id provided, only the file (data) so it generates a new listing_image_id |
Beta Was this translation helpful? Give feedback.
-
@yovasx2 I'm having some trouble duplicating this issue. Do you have a test listing (not an actual client listing) where you are able to duplicate this and that I can make attempts to duplicate with (without messing up your client data)? |
Beta Was this translation helpful? Give feedback.
-
it's randomly happened when we bulk over ~25 listings we process them sequentially and one of them is most of the time getting the error, what do u need specifically, I think I can send u a video but the affected listing is getting the correct URL after the post via get, the problem is the post response which is spontaneous, we always create draft of the active listings u can create a group of drafts and then remove them |
Beta Was this translation helpful? Give feedback.
-
Ok thanks for that info. When you say "one of them" I assume you mean just one out of ~25, not a SPECIFIC listing that it happens with every time right? I think this is coming down to some cache issue. I will certainly keep looking into this. If you can do a video that would be great, though I'm not entirely sure it will give me specific context. I'll have to see if there's a way I can generate a script to bulk create listings and upload images to those draft listings. |
Beta Was this translation helpful? Give feedback.
-
That's correct |
Beta Was this translation helpful? Give feedback.
-
@yovasx2 I haven't updated the release notes yet as there is probably more coming today, but i've put out what I am hopeful is a fix for this. As i'm not able to duplicate the issue on my end, I'm hopeful that forcing the cache to refresh will help out. Please test it out and see if it is corrected on your end. If not, can you log the api calls you make (input and response - just using the same example listings you showed me) for the whole process, that would be very helpful. |
Beta Was this translation helpful? Give feedback.
-
it's still happening and now it seems to be stuck while editing photos (like 250 at the same time) |
Beta Was this translation helpful? Give feedback.
-
What do you mean by editing photos? are you just referring to the same process above? (replacing photos)? |
Beta Was this translation helpful? Give feedback.
-
yes, I think the secret to reproduce this is doing what we do, we take a listing, remove all the photos and add them again using image_lisitng_id except for one (the replacement, which is sent as a file, this post response is the one containing the incorrect url), then we hit updateLisitng endpoint with the photo id array to fix any order issue. You need to do this repeatedly to catch it I shared detailed info via email |
Beta Was this translation helpful? Give feedback.
-
Got another repro today. Etsy_listing_image_id | full size URL All those got replaced by https://i.etsystatic.com/18728563/r/il/66f1f7/4167532806/il_75x75.4167532806_p8ee.jpg |
Beta Was this translation helpful? Give feedback.
-
@yovasx2 and @diegodleon this is still on the radar to resolve. We've just had difficulty in duplicating it so we can get to the bottom of it. I'm moving it to discussions so we can continue to track it after we shut down the issues board. |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Describe the bug
from time to time the endpoint: https://developers.etsy.com/documentation/reference/#operation/uploadListingImage is returning a response mixing URL belonging to a different image, seems to be a race condition in Etsy side, because after a while the https://developers.etsy.com/documentation/reference/#operation/getListingImage returns the correct listing_image_id and the URLs containing that id
Steps to reproduce
We spot a bad response on the fly by setting 3-5 images for a product in a round:
As u can see the URL is referring to 3659832288 but the desired listing_image_id is 3837624856, when u hit get image with 3837624856 the URL is completely different (the correct one).
Expected behavior
POST response must return a consistent response as the GET
Additional context
affected listing to search in logs: 1163106580
3659832288 and 3837624856 have the same URL in the post response (but the correct in GET)
Beta Was this translation helpful? Give feedback.
All reactions