POST to /observation_field_values works correctly
PUT to /observations/{id} works correctly
But PUT to/observation_field_values/{id} doesn’t update the field, and responds with a 404 error, specifically “{“error”:{“original”:{“error”:“Not found”}},“status”:404}”
Looks like you’re sending an observation ID and not an observation field value ID. Observations can have multiple observation field values, and each have their own ID which are distinct from their respective observation ID
You’re right, that’s it, thank you!! I really appreciate it, I might never have figured out what the doc meant by “id” here.
Does this mean there’s no single-request way for the API to update/remove a certain field (e.g. “Fungus Substrate/Host”) from a certain observation - we first have to GET the observation, find the ID of that field on this observation, and then PUT/DELETE a request to update/remove it?