ErrorCode
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
列挙型 |
ERROR_CODE_UNSPECIFIED |
エラーコードがありません。 |
SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS |
「updateNotificationSetting」RPC で指定された Pub/Sub トピック名は、この API の他のバージョンで使用されています。この問題を軽減するために、新しいトピック名を指定してください。 |
PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC |
更新通知設定に指定された Pub/Sub トピック名には、ユーザーの公開権限がありません。 |
INVALID_PUBSUB_TOPIC |
更新通知設定に指定された Pub/Sub トピック名が無効です。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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. |"]]