Response Codes

HTTP response codes returned by the Ubidots REST API and what each status means.

When you make an HTTP request, the Ubidots REST API returns the following response codes to help you understand the request status and troubleshoot errors:

Response CodeDescription
200OK -- Successful request
201Created -- Successful request; an entity (Device or Variable) was created
202Accepted -- The request has been accepted for processing, but processing has not been completed
204One of the fields is incorrect, and the request was not saved -- Verify that it's a valid JSON string and that the fields are the ones expected by the endpoint (string, object, or float)
400Bad Request -- Error due to an invalid body in your request. Verify that it's a valid JSON string and that the fields are the ones expected by the endpoint (string, object, or float)
401Invalid API key -- Verify your API key
402Payment Required -- Verify your balance
403Forbidden -- This token is not valid. Verify your token
404Not Found -- We couldn’t find the URL you're trying to access. This might be due to an incorrect device label or ID, an incorrect variable label or ID, or a typo in the request URL
405Method Not Allowed -- This API endpoint does not accept the method used. Check our API docs to see the allowed methods
415Unsupported Media Type -- The payload is in a format not supported by this method on the target resource
420You have exceeded your API limits -- To upgrade your API limit, contact the Ubidots team
423The device does not receive data because it is disabled
429Too Many Requests -- Too many requests were sent in a given amount of time ("rate limiting")
50xInternal Error -- We're having issues with our servers. Check our status page.