I am trying to get a Spark core to post data to ubidots, but am not seeing any data show up in ubidots. Trying to simplify the troubleshooting - I’ve tried to access the ubidots API via some basic curl commands. When I do this, i get 403 - "“Authentication credentials were not provided.” but they are right there in the request headers! I’ve generated a token, and used that in X-Auth-Token request header. Not sure what I’m doing wrong here - suspect it’s painfully obvious!
Request:
HTTP GET things.ubidots.com/api/v1.6/datasources/
Accept: */*
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8
Content-Type: application/json
X-Auth-Token: ei...redacted-for-community-post...1d
Response:
403
{
"detail": "Authentication credentials were not provided."
}
Old thread indeed. Interesting what you report. Is there another free service, like Ubidots, that might work with the Particle Photon? If you can log into the Particle community, here is a recent smattering of posting that are trying to understand this issue.