Handling Errors

Particle Health APIs support standard HTTP response status codes to indicate why something might not be working. Where possible, additional context will be included in the response to help you debug your implementation.

CodeTextContext
400Bad RequestYour request is invalid. Look at the error message to learn why.
401UnauthorizedYou used incorrect authentication credentials.
403ForbiddenYou have insufficient permissions to access the requested resource.
404Not FoundThe specified resource could not be found.
405Method Not AllowedYou used an invalid HTTP method.
406Not AcceptableYou requested a format that we don't support.
410GoneThe resource requested has expired and been removed from our servers.
412Precondition FailedAn operation might still be in progress.
429Too Many RequestsYou've made too many requests in a short period of time. Contact support if you feel this is in error.
500Internal Server ErrorSomething went wrong on our end. Try again in a bit. We'll also be alerted automatically to look into it.
503Service UnavailableWe're temporarily offline for maintenance. Try again in a bit.