open-api
open-api copied to clipboard
[BUG] Duplicate rank in listingFiles
Describe the bug Duplicate rank for listing files
To Reproduce Hit addListingFile at the same time
Expected behavior Not to have duplicates in ranks
Screenshots
{
"count": 2,
"results": [
{
"listing_file_id": 1039322776190,
"listing_id": 1083050300,
"rank": 1,
"filename": "1x1-000000ff.png",
"filesize": "68 B",
"size_bytes": 68,
"filetype": "image/png",
"create_timestamp": 1637690305
},
{
"listing_file_id": 1061152905371,
"listing_id": 1083050300,
"rank": 1,
"filename": "stars.jpeg",
"filesize": "16.23 KB",
"size_bytes": 16619,
"filetype": "image/jpeg",
"create_timestamp": 1637352712
}
]
}
Additional context https://developers.etsy.com/documentation/reference/#operation/uploadListingFile
FYI I am seeing the same issue for images, sometimes rank gets duplicated, probably a race condition related to this: https://github.com/etsy/open-api/issues/298
Any update on this?
Nothing yet @yovasx2. We will get to this as soon as possible.
@yovasx2 I'm working on this ticket now. I need to confirm with you the process on this one. Are you uploading more than one image with the same rank? Or not including the rank? What are the steps to reproduce?
i add files to a listing using rank = 5 always