Error Handling
These are the error codes you might get when using the Vault API, how to
interpret them, and what to do when you get them.
If you need more help with an error, review the support resources.
Error code |
Description |
Action |
400: Bad Request |
This error code is returned when there is an error in the input request. |
Check the request, make required changes to the request, and try again. |
401: Invalid Credentials |
The access token is invalid or expired. |
Refresh the access token and try again. |
404 |
The specified resource was not found. This error code is returned when the
request has a matter, hold, or account that doesn't exist. |
|
409 |
The specified resource already exists. |
Try to get the resource again, and, if needed, perform an update. |
429 |
The request exceeds a Vault API quota. |
Review the Vault API usage limits and use
an exponential backoff algorithm as described on that page. |
500 |
An unexpected error happened while processing the request. |
Retry with exponential backoff. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
[null,null,["Last updated 2024-12-19 UTC."],[[["This page lists common Vault API error codes, their meanings, and suggested solutions."],["Error codes range from bad requests (400) to internal server errors (500), each with specific causes."],["Users should consult the error code descriptions to understand the issue and take the recommended action."],["For quota issues (429), review usage limits and implement exponential backoff strategies."],["If further assistance is needed, consult the provided support resources."]]],["Vault API error codes indicate issues with requests or resources. 400 means a bad input request, requiring a check and correction. 401 signals invalid credentials, needing a token refresh. 404 signifies a missing resource. 409 means a resource already exists, prompting a resource retrieval or update. 429 denotes exceeding API limits, necessitating review of the limits and an exponential backoff approach. 500 represents an unexpected internal error that should also be retried with exponential backoff.\n"]]