GuidesAPI Reference
Guides

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 codeDescription
200 OKSuccess.
204 No contentSuccess.
400 Bad requestInvalid parameter value or missing required parameter in the request, for example latitude and/or longitude out of range/missing.
401 UnauthorizedInvalid authentication.
403 ForbiddenMissing or incorrect authorization token in the request. See the Identity and Access Management Developer Guide for more information.
404 Not foundResource not found.
500 Internal errorThere is a server configuration issue.
503 Service UnavailableService is temporarily unavailable due to system overload or maintenance.