The Flowroute API returns both an HTTP Status Code and a JSON body with each error. The status in the error will match the HTTP Status Code that is returned and the title and detail fields will give more context to the error. You can give the id to Flowroute Support and they will be able to retrieve details about the error from our logs.
An expanded explanation of why your API request was unsuccessful.
Unique identifier associated with the API request that generated the error.
HTTP Status code related to the error.
HTTP Short description of what error was encountered.
Bad Request – Some aspect of the request was unprocessable.
Unauthorized – There was an issue with your API credentials.
Forbidden – You don't have permission to access this resource.
Not Found – The specified resource does not exist.
Method Not Allowed – You tried to use an unsupported HTTP method.
Unsupported Media Types – The server refuses to accept the request because the payload format is in an unsupported format. The format problem might be due to the indicated Content-Type in the request, or as a result of inspecting the data directly.
Unprocessable Entity – You tried to enter an incorrect value. For example, Messages v2.1 returns this message if you attach a file in your MMS message that exceeds our size limit: "Error fetching media: File at \"" is over 767840 byte limit."
Too Many Requests – You have sent too many requests at a given time and need to slow down how often you’re querying the API.
Internal Server Error – We had a problem with our server. Try again later.
Service Unavailable – We’re temporarily offline for maintanance. Please try again later.