エラー処理
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Vault API の使用時に発生する可能性のあるエラーコード、その解釈方法、発生時の対処方法について説明します。エラーについてさらにサポートが必要な場合は、サポート リソースをご覧ください。
エラーコード |
説明 |
アクション |
400: Bad Request |
このエラーコードは、入力リクエストにエラーがある場合に返されます。 |
リクエストを確認し、必要な変更を加えて、もう一度お試しください。 |
401: Invalid Credentials |
アクセス トークンが無効であるか、期限切れです。 |
アクセス トークンを更新して、もう一度お試しください。 |
404 |
指定されたリソースが見つかりませんでした。このエラーコードは、リクエストに存在しない案件、保持、アカウントが含まれている場合に返されます。 |
|
409 |
指定されたリソースはすでに存在します。 |
リソースを再度取得し、必要に応じて更新を行います。 |
429 |
リクエストが Vault API の割り当てを超えています。 |
Vault API の使用量上限を確認し、そのページで説明されている指数バックオフ アルゴリズムを使用します。 |
500 |
リクエストの処理中に予期しないエラーが発生しました。 |
指数バックオフを使用して再試行する。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-29 UTC。
[null,null,["最終更新日 2025-08-29 UTC。"],[],[],null,["# Error Handling\n\nThese are the error codes you might get when using the Vault API, how to\ninterpret them, and what to do when you get them.\nIf you need more help with an error, review the [support resources](/workspace/vault/support).\n\n| **Error code** | **Description** | **Action** |\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| 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. |\n| 401: Invalid Credentials | The access token is invalid or expired. | Refresh the access token and try again. |\n| 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. | |\n| 409 | The specified resource already exists. | Try to get the resource again, and, if needed, perform an update. |\n| 429 | The request exceeds a Vault API quota. | Review the [Vault API usage limits](/workspace/vault/limits) and use an exponential backoff algorithm as described on that page. |\n| 500 | An unexpected error happened while processing the request. | Retry with exponential backoff. |"]]