טיפול בשגיאות
כאן מפורטים קודי השגיאות שעשויים להופיע כשמשתמשים ב-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 ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-21 (שעון UTC).
[null,null,["עדכון אחרון: 2024-12-21 (שעון 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"]]