-
Notifications
You must be signed in to change notification settings - Fork 648
Closed
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.
Description
Hey, I am trying to unsubscribe from multiple topics:
subscription.forEach(function (sub) {
sub.delete(function (error) {
//code
});
});Everytime I try this, i get an unhandled error:
ApiError: The service was unable to fulfill your request. Please try again. [code=8a75]
at new util.ApiError (/Users/X/Y/node_modules/gcloud/lib/common/util.js:92:10)
at Object.parseHttpRespBody (/Users/X/Y/node_modules/gcloud/lib/common/util.js:170:30)
at Object.handleResp (/Users/X/Y/node_modules/gcloud/lib/common/util.js:110:18)
at /Users/X/Y/node_modules/gcloud/lib/common/util.js:422:12
at Request.onResponse [as _callback] (/Users/X/Y/node_modules/retry-request/index.js:106:7)
at Request.self.callback (/Users/X/Y/node_modules/gcloud/node_modules/request/request.js:198:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (/Users/X/Y/node_modules/gcloud/node_modules/request/request.js:1035:10)
at emitOne (events.js:82:20)
Any idea?
EDIT: interesting enough, even though it throws an error, it still seems to delete the subscriptions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.