First time here? Check out the FAQ!

Photo sequences mismatch - GetObject (Location=0 vs Location=1)

Hi, there's a sequence numbering mismatch between GetObject Location = 0 and Location = 1:

GetObject Location = 1 returns photo Urls with sequence starting at "0" (there's actually no sequence number in the first url) GetObject Location = 0 (for the same listing) returns photo names with sequence starting at 1. (Photo Sequence is embedded in the multipart response of the request.

This mismatch may cause issues in our client app. I would think the sequence number (id of the photo) would match when using either method.

Please advise

Daniel Lopez's avatar
Daniel Lopez
asked 2021-09-24 10:54:19 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


You should be using the one based ObjectID header value returned by GETOBJECT in both cases.
The number returned as part of the filename should not be used because it may change in the future.
Note: If you are pulling from the Media resource, the MED_sequence field value is zero based.

bwolven's avatar
answered 2021-09-24 13:04:01 -0500, updated 2021-09-24 13:08:12 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments

Your Answer

Login/Signup to Answer