Google-cloud-node: pubsub Invalid resource name given

Created on 17 Oct 2016  路  2Comments  路  Source: googleapis/google-cloud-node

topic.subscribe() throws an error

Invalid resource name given (name=projects/xx/subscriptions/7fc49e57-7ec2-422a-a90c-d40297b763bc). Refer to https://cloud.google.com/pubsub/overview#names for more information.

The subscription name 7fc49e57-7ec2-422a-a90c-d40297b763bc does only contain letters [A-Za-z]), numbers ([0-9], dashes (-) and does not begin with the string goog.

It should've passed.

Environment details

question pubsub

Most helpful comment

Must start with a letter :)

All 2 comments

Must start with a letter :)

Ops, sorry ;)

a letter to satisfy gcloud+uuid.v4() then ;)

Was this page helpful?
0 / 5 - 0 ratings