{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1257","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1257/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1257/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1257/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/issues/1257","id":150416498,"number":1257,"title":"pubsub.subscribe fails if called twice with the same subscription name","user":{"login":"jasonpolites","id":764528,"avatar_url":"https://avatars.githubusercontent.com/u/764528?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonpolites","html_url":"https://github.com/jasonpolites","followers_url":"https://api.github.com/users/jasonpolites/followers","following_url":"https://api.github.com/users/jasonpolites/following{/other_user}","gists_url":"https://api.github.com/users/jasonpolites/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonpolites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonpolites/subscriptions","organizations_url":"https://api.github.com/users/jasonpolites/orgs","repos_url":"https://api.github.com/users/jasonpolites/repos","events_url":"https://api.github.com/users/jasonpolites/events{/privacy}","received_events_url":"https://api.github.com/users/jasonpolites/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/labels/pubsub","name":"pubsub","color":"f7c6c7"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-22T16:36:46Z","updated_at":"2016-04-22T17:18:09Z","closed_at":null,"body":"The sample code for pubsub will fail if it's run twice.\r\n\r\nThe \"subscribe\" method:\r\n\r\n`topic.subscribe('new-subscription'...)`\r\n\r\nWill fail if \"new-subscription\" already exists.  I see the following error:\r\n\r\n_Resource already exists in the project (resource=new-subscription)._"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/comments/213517636","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/issues/1257#issuecomment-213517636","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1257","id":213517636,"user":{"login":"jasonpolites","id":764528,"avatar_url":"https://avatars.githubusercontent.com/u/764528?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonpolites","html_url":"https://github.com/jasonpolites","followers_url":"https://api.github.com/users/jasonpolites/followers","following_url":"https://api.github.com/users/jasonpolites/following{/other_user}","gists_url":"https://api.github.com/users/jasonpolites/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonpolites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonpolites/subscriptions","organizations_url":"https://api.github.com/users/jasonpolites/orgs","repos_url":"https://api.github.com/users/jasonpolites/repos","events_url":"https://api.github.com/users/jasonpolites/events{/privacy}","received_events_url":"https://api.github.com/users/jasonpolites/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T17:18:09Z","updated_at":"2016-04-22T17:18:09Z","body":"Maybe a simply solution for now is to just add `{ reuseExisting: true }` to the README so users don't get tripped up in their first 5 minutes"}}