ErrorCode
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כל קודי השגיאות שהוחזרו על ידי ה-API.
טיפוסים בני מנייה (enums) |
ERROR_CODE_UNSPECIFIED |
חסר קוד שגיאה. |
SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS |
גרסאות אחרות של ה-API הזה משתמשות בשם נושא ה-Pub/Sub שצוין ב-rpc 'updateNotificationSetting'. מומלץ לתת שם חדש לנושא כדי לפתור את הבעיה. |
PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC |
לשם של נושא ה-Pub/Sub שסופק להגדרה של התראת העדכון אין הרשאות פרסום עבור המשתמש. |
INVALID_PUBSUB_TOPIC |
שם נושא ה-Pub/Sub שסופק עבור ההגדרה של התראת העדכון אינו חוקי. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThe API uses specific error codes to indicate issues, including unspecified errors, topic name conflicts, and permission or validation problems with the pub/sub topic.\u003c/p\u003e\n"],["\u003cp\u003eIf the 'updateNotificationSetting' request uses a pub/sub topic name that's already in use by other API versions, provide a new topic name.\u003c/p\u003e\n"],["\u003cp\u003eEnsure the user has publish permissions for the specified pub/sub topic to avoid errors related to permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe pub/sub topic name provided in the request must be valid to prevent invalid topic errors.\u003c/p\u003e\n"]]],["The document outlines API error codes. `ERROR_CODE_UNSPECIFIED` indicates a missing error code. `SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS` means a provided pub/sub topic name is already in use by other API versions, requiring a new topic name. `PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC` signals that the user lacks publish permissions for the provided pub/sub topic. Finally, `INVALID_PUBSUB_TOPIC` denotes that the supplied pub/sub topic name is not valid.\n"],null,["# ErrorCode\n\nAll errors codes returned by the API.\n\n| Enums ||\n|------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ERROR_CODE_UNSPECIFIED` | Missing error code. |\n| `SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS` | The pub/sub topic name provided in the 'updateNotificationSetting' rpc is being used by other versions of this API. Please supply a new topic name to mitigate this issue. |\n| `PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC` | The pub/sub topic name supplied for update notification setting doesn't have publish permissions for the user. |\n| `INVALID_PUBSUB_TOPIC` | The pub/sub topic name supplied for update notification setting is invalid. |"]]