probably there’s bad data in this set. for example, the observation below seems to have null items in its photos array, which you wouldn’t think would be possible. the v2 API fails altogether when photos is included in the results, but the v1 API will show you the bad data.
comparing the observation_photos vs photos, it sort of looks like the observation is connected to photos that no longer exist (ex. https://www.inaturalist.org/photos/601209232).
"observation_photos": [
{
"id": 566637984,
"position": 0,
"uuid": "8bc42b9f-6712-42df-9c91-00fb0fccbeed",
"photo_id": 601209232
},
{
"id": 566637985,
"position": 1,
"uuid": "ac44d572-f2d2-4b63-9e9a-ee0f1f87284a",
"photo_id": 601209245
},
{
"id": 566637986,
"position": 2,
"uuid": "b0c19a8f-b272-4b5a-b76d-ef29f038f8a5",
"photo_id": 601209251
},
{
"id": 566637987,
"position": 3,
"uuid": "beac60a0-2087-4c00-beae-251e09d15416",
"photo_id": 610916484,
"photo": {
"id": 610916484,
"license_code": "cc-by-nc",
"original_dimensions": {
"width": 1274,
"height": 1593
},
"url": "https://inaturalist-open-data.s3.amazonaws.com/photos/610916484/square.jpg",
"attribution": "(c) Uriel Levy, some rights reserved (CC BY-NC)",
"flags": [],
"moderator_actions": [],
"hidden": false
}
},
{
"id": 566637997,
"position": 4,
"uuid": "6455254e-45d5-48c4-b75f-0ad6ffe4b022",
"photo_id": 610916488,
"photo": {
"id": 610916488,
"license_code": "cc-by-nc",
"original_dimensions": {
"width": 1609,
"height": 1287
},
"url": "https://inaturalist-open-data.s3.amazonaws.com/photos/610916488/square.jpg",
"attribution": "(c) Uriel Levy, some rights reserved (CC BY-NC)",
"flags": [],
"moderator_actions": [],
"hidden": false
}
}
],
"photos": [null, null, null, {
"id": 610916484,
"license_code": "cc-by-nc",
"original_dimensions": {
"width": 1274,
"height": 1593
},
"url": "https://inaturalist-open-data.s3.amazonaws.com/photos/610916484/square.jpg",
"attribution": "(c) Uriel Levy, some rights reserved (CC BY-NC)",
"flags": [],
"moderator_actions": [],
"hidden": false
},
{
"id": 610916488,
"license_code": "cc-by-nc",
"original_dimensions": {
"width": 1609,
"height": 1287
},
"url": "https://inaturalist-open-data.s3.amazonaws.com/photos/610916488/square.jpg",
"attribution": "(c) Uriel Levy, some rights reserved (CC BY-NC)",
"flags": [],
"moderator_actions": [],
"hidden": false
}
],
as a workaround for now, you might be able to get the other stuff in the Identify screen by adding not_id=336209968 to your parameter list.