You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have used POST uploadListingImage and we found some issues with it, it seems that the overwrite attribute is causing several things:
If you hit GET getListingImages too fast after creating an image then you have eventual consistency, the first response does not contain the new image until several minutes after
When you include the overwrite parameter in the POST uploadListingImage some issues come:
If the listing previously had an image with alt_text in the rank and you send a file (in a new request), then the alt_text is set to the previously deleted image:
Create an image with alt_text
Delete the image of the listing
Send a new image file with new alt_text
The new image is having the deleted image's alt_text
If the listing has 10 images (maximum) then a new request with a listing_image_id and overwrite triggers an error about the limit reached but then overwrite seems to be not taken into consideration
Create a listing and attach 10 images to it
Remove one image to get the listing_image_id (we are going to add this after getting the limit of images)
Attach a new image (file) to the listing to reach the max again
Send the post request using the referenced deleted image with overwrite true and rank 10
If you try to overwrite an image using reference with rank the original listing is sometimes removed
Expected:
The overwrite MUST replace images' parameters in the desired rank
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have used POST uploadListingImage and we found some issues with it, it seems that the overwrite attribute is causing several things:
When you include the overwrite parameter in the POST uploadListingImage some issues come:
Expected:
The overwrite MUST replace images' parameters in the desired rank
Beta Was this translation helpful? Give feedback.
All reactions