Status codes are universal 3-digit numerical codes that servers use to indicate the success or failure of an HTTP request. Seeing a status code in your Tray execution logs can indicate that a Tray connector successfully made contact with a service's servers, but may or may not have actually completed the request due to one of the following situations:
Common Status Codes
200 - OK | Everything worked as expected. |
---|---|
400 - Bad Request | The request was unacceptable, often due to missing a required parameter. |
401 - Unauthorized | No valid API credentials provided. |
402 - Request Failed | The parameters were valid but the request failed. |
403 - Forbidden | The API credentials entered don't have permission to perform the request. |
404 - Not Found | The requested resource doesn't exist. |
409 - Conflict | The request conflicts with another request (perhaps due to using the same idempotent key). |
429 - Too Many Requests | Too many requests hit the API too quickly. We recommend an exponential backoff of your requests. |
500, 502, 503, 504 - Server Errors | Something went wrong on the service's server end. |
For more information on HTTP status codes, read MDN Web Docs: HTTP response status codes or HTTP Status Codes for Beginners.
Comments
0 comments
Please sign in to leave a comment.