Endpoint /observations/device/{device_id} returns 404 response

Hi,

I am seeing a lot of {“status”:{“status_code”:404,“status_message”:“NOT FOUND”}} for the last 2-3 days on the endpoint /observations/device/{device_id} for serval devices coming from several users.

Do you know whether something has been updated in Weatherflow servers?

Thanks,
Vincent

don’t you need a valid token to access other people’s data? The user could just have invalided the token on purpose.

Thanks sunny for your reply,

when a token has been invalidated, the error response code is 401 (unauthorized). So this was not the problem.

After asking Weatherflow support, it seems that when someone disconnects/reconnects a device, the device_id changes. Getting the new device_id fixes the problem I was having.

2 Likes