Traffic Analytics API HTTP error handling

When you encounter errors, an HTTP response code returns a message describing the problem.

The following table shows valid response codes.

CodeDescription
400Bad Request
401Unauthorized
403Forbidden
413Payload Too Large

Example JSON response

The following is an example response.

{
   "message": "Invalid value for field beginDate"
}