טיפול בשגיאות
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אלה קודי השגיאה שעשויים להתקבל כשמשתמשים ב-Vault API, הסבר על המשמעות שלהם ומה צריך לעשות כשמקבלים אותם.
אם אתם צריכים עזרה נוספת בנוגע לשגיאה, כדאי לעיין במקורות התמיכה.
קוד שגיאה |
תיאור |
פעולה |
400: Bad Request |
קוד השגיאה הזה מוחזר אם יש שגיאה בבקשת הקלט. |
בודקים את הבקשה, מבצעים את השינויים הנדרשים ומנסים שוב. |
401: פרטי כניסה לא תקינים |
טוקן הגישה לא תקין או שתוקפו פג. |
צריך לרענן את אסימון הגישה ולנסות שוב. |
404 |
המשאב שצוין לא נמצא. קוד השגיאה הזה מוחזר כשהבקשה כוללת עניין, הקפאה או חשבון שלא קיימים. |
|
409 |
המשאב שצוין כבר קיים. |
כדאי לנסות לקבל שוב את המשאב, ואם צריך, לבצע עדכון. |
429 |
הבקשה חורגת ממכסת Vault API. |
כדאי לעיין במגבלות השימוש ב-Vault API ולהשתמש באלגוריתם של השהיה מעריכית לפני ניסיון חוזר (exponential backoff) כמו שמתואר בדף הזה. |
500 |
אירעה שגיאה לא צפויה במהלך עיבוד הבקשה. |
ניסיון חוזר עם השהיה מעריכית לפני ניסיון חוזר (exponential backoff). |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]