Page Summary
-
The API uses specific error codes to indicate issues, including unspecified errors, topic name conflicts, and permission or validation problems with the pub/sub topic.
-
If the 'updateNotificationSetting' request uses a pub/sub topic name that's already in use by other API versions, provide a new topic name.
-
Ensure the user has publish permissions for the specified pub/sub topic to avoid errors related to permissions.
-
The pub/sub topic name provided in the request must be valid to prevent invalid topic errors.
All errors codes returned by the API.
| Enums | |
|---|---|
ERROR_CODE_UNSPECIFIED |
Missing error code. |
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. |
PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC |
The pub/sub topic name supplied for update notification setting doesn't have publish permissions for the user. |
INVALID_PUBSUB_TOPIC |
The pub/sub topic name supplied for update notification setting is invalid. |
PUBSUB_TOPIC_NOT_IN_CALLER_PROJECT |
The pub/sub topic name supplied for update notification setting does not belong to the Cloud project that owns the OAuth client making the request. Create the topic in that project. Subscriptions to the topic can be in any project. |