การจัดการข้อผิดพลาด
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ต่อไปนี้คือรหัสข้อผิดพลาดที่คุณอาจได้รับเมื่อใช้ Vault API วิธีตีความรหัส และสิ่งที่ต้องทำเมื่อได้รับรหัส
หากต้องการความช่วยเหลือเพิ่มเติมเกี่ยวกับข้อผิดพลาด โปรดดูแหล่งข้อมูลสนับสนุน
รหัสข้อผิดพลาด |
คำอธิบาย |
การดำเนินการ |
400: คำขอไม่ถูกต้อง |
ระบบจะแสดงรหัสข้อผิดพลาดนี้เมื่อมีข้อผิดพลาดในคำขออินพุต |
ตรวจสอบคำขอ ทำการเปลี่ยนแปลงที่จำเป็นกับคำขอ แล้วลองอีกครั้ง |
401: ข้อมูลเข้าสู่ระบบไม่ถูกต้อง |
โทเค็นเพื่อการเข้าถึงไม่ถูกต้องหรือหมดอายุ |
โปรดรีเฟรชโทเค็นเพื่อเข้าถึงแล้วลองอีกครั้ง |
404 |
ไม่พบทรัพยากรที่ระบุ ระบบจะแสดงรหัสข้อผิดพลาดนี้เมื่อคำขอมีเคส การระงับ หรือบัญชีที่ไม่มีอยู่ |
|
409 |
มีทรัพยากรที่ระบุอยู่แล้ว |
ลองรับทรัพยากรอีกครั้ง และอัปเดตหากจำเป็น |
429 |
คำขอเกินโควต้า Vault API |
ตรวจสอบขีดจำกัดการใช้งาน Vault API และใช้อัลกอริทึมการถอยแบบทวีคูณตามที่อธิบายไว้ในหน้านั้น
|
500 |
เกิดข้อผิดพลาดที่ไม่คาดคิดขณะประมวลผลคำขอ |
ลองอีกครั้งโดยใช้ Exponential Backoff |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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. |"]]