Hello, we are currently trying to fetch the data from a sensor via API but we are struggling. We followed the tutorial by @Neoxelox (Cayenne API tutorial for beginners beginners with ai2/thunkable) though we just created GET and POST requests directly, we didn’t use his specific app example.
It all works well until the part where we actually need to fetch the sensor data.
I used this URL for the GET request: https://platform.mydevices.com/v1.1/telemetry/OUR-DEVICE-ID/sensors/OUR-SENSOR-ID/summaries?type=latest
And also the correct Headers (Authorization and X-API-Version).
The problem is that we always receive:
“error”: “Not Found”
By the way: We are using an Arduino. Does that change anything about the URL parameter “telemetry”?
Any ideas? We could not find any references to this in documentation. Did we miss something?
Could anyone provide a working example (maybe just a curl request)?
Help would be really appreciated.
OKAY GUYS, we fixed it. Sometimes it’s simple. There was a space in the URL which we missed.
But one question is still up: “I could not find any references to this in documentation. Did we miss something?”