[SOLVED] Problems with the Getting Started API?

Hey guys, I am trying the results again using the GUI in the

https://ubidots.com/docs/#send-one-value-to-ubidots

page, and I’m not receiving any data whatsoever in my Data source.

I saw this at the side. (see the API response part)

POST /api/v1.6/variables/583adfdd76254267734051e2/values HTTP/1.1
X-Auth-Token: lkHn7uADasOz4XmyDQ07nRiwy98UmP
Host: things.ubidots.com
Connection: close
Content-Type: application/json
Content-Length: 12

{"value":10}

API response:

{"readyState":4,"responseText":"{\"detail\": \"JSON parse error - No JSON object could be decoded\"}","responseJSON":{"detail":"JSON parse error - No JSON object could be decoded"},"status":400,"statusText":"BAD REQUEST"}

Sample curl request

curl -X POST -H "Content-Type: application/json" -d '{"value":10}' https://things.ubidots.com/api/v1.6/variables/583adfdd76254267734051e2/values/?token=lkHn7uADasOz4XmyDQ07nRiwy98UmP

Is there something wrong with the platform?

Hi @Akimbo,

Thanks for your report. We’ve validated the issue and fixed and error we were having when sending the request to the API.

You should be able to send data right now if you want.

Thanks again for your report!

Regards,
David Sánchez