Inconsistent API error states

Here are two deleted photo IDs that both return identical errors in the “single ID” form:

https://graph.mapillary.com/481158973140694?access_token=MLY|XYZ|XYZ&fields=computed_geometry,computed_compass_angle

https://graph.mapillary.com/313251280626660?access_token=MLY|XYZ|XYZ&fields=computed_geometry,computed_compass_angle

(Substitute a real token of course…)

However, if they come up in any “list of IDs” queries, they produce different results:

https://graph.mapillary.com/?access_token=MLY|XYZ|XYZ&fields=computed_geometry,computed_compass_angle&ids=481158973140694,1501042620531769

Here, the missing item is merely absent from the list of results.

https://graph.mapillary.com/?access_token=MLY|XYZ|XYZ&fields=computed_geometry,computed_compass_angle&ids=313251280626660,1501042620531769

But here, an error message replaces the ENTIRE list, precluding any IDs that did exist (i.e. the same ID that did appear in the previous example).

cc: @caglarpmeta to take a look

GITNE, yours works fine if you remove the image/ from your URL, I’m not sure what that’s doing there.

1 Like