Troubleshooting the O Series APIs
HTTP Status Error Codes
These are the standard HTTP status codes used by the O Series APIs:
HTTP Response Status | Resolution |
---|---|
400 Bad Request | This error might be caused by the invalid JSON payload in the request. Inspect the error details included in the response (if any) for further information. |
401 Unauthorized | Ensure the authentication token in the HTTP header was included in the request and was valid. |
403 Forbidden | This error indicates that the server understood the request but refused to process it. |
500 Internal Server Error | The operation should be retried later. If the error persists, reach out to Vertex Support. |
Response Error Information
In most cases, the API returns a response with error information in the JSON format. For example:
{
"errors": [
{
"code": "string",
"message": "string",
"target": "string"
}
],
"meta": {
"app": "string",
"timeElapsed(ms)": 0,
"timeReceived": "2024-03-04T17:23:45Z",
"timeElapsedDetails": [
{
"key": "string",
"value": "string"
}
]
}
}
Updated about 2 months ago