Ubidots Community

Sending Data to Ubidots from Thingsboard

Hi there,

I have built a dashboard and have successfully seen my device variables update when using TTN as well as curl to push data. I am now switching over to a private network (Eleven-X, Orbiwise) and have not been able to push data to Ubidots. The payload is decoded json, and I have triple checked that my url and token are entered correctly. The error I continuously get is “Authentication credentials not provided”. Even when I include the ?token= on my URL. (Sorry - photo uploads not working).

After trying every which way to get that to work, I was able to get Eleven-X to push my data to ThingsBoard. ThingsBoard has a “rest api call” function which I was hoping would be able to forward my payload to Ubidots so I don’t have to build a dashboard on a different platform. Does anyone have any similar experience getting data pushed to Ubidots through 3rd party apps? My error this time is (“org.springframework.web.client.HttpClientErrorException$UnsupportedMediaType: 415 Unsupported Media Type”)

Thanks in advance

Hi @alemez

Thank you for letting us know about this situation.

As you already verify the URL and TOKEN, can you please send us the payload and request you are making to verify what could be happening as you shouldn’t have a problem forwarding the data to Ubidots?

Answering to your other question, yes, if ThingsBoard allows Rest API calls you can send the data to Ubidots or you can use UbiFunctions to make the GET request to Thingsboard.

I will be attentive to your response.