Destination Weather API Response status codes
When you submit a REST request to an endpoint, the response includes an HTTP status code. On success, the response status is 200 OK and the response payload includes the data that matches the request.
On failure, the response has a different status code and may include additional information about the error. You can use this additional information to troubleshoot this issue.
HTTP status codes
The API supports standard HTTP status codes The following table lists the status codes and their descriptions.
| Error code | Description |
|---|---|
| 200 OK | Success. |
| 204 No content | Success. |
| 400 Bad request | Invalid parameter value or missing required parameter in the request, for example latitude and/or longitude out of range/missing. |
| 401 Unauthorized | Invalid authentication. |
| 403 Forbidden | Missing or incorrect authorization token in the request. See the Identity and Access Management Developer Guide for more information. |
| 404 Not found | Resource not found. |
| 500 Internal error | There is a server configuration issue. |
| 503 Service Unavailable | Service is temporarily unavailable due to system overload or maintenance. |
Updated 26 days ago