{"action":"created","issue":{"url":"https://api.github.com/repos/stephenplusplus/gcs-resumable-upload/issues/3","labels_url":"https://api.github.com/repos/stephenplusplus/gcs-resumable-upload/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/stephenplusplus/gcs-resumable-upload/issues/3/comments","events_url":"https://api.github.com/repos/stephenplusplus/gcs-resumable-upload/issues/3/events","html_url":"https://github.com/stephenplusplus/gcs-resumable-upload/issues/3","id":104580673,"number":3,"title":"Error when calling createURI","user":{"login":"winduptoy","id":270504,"avatar_url":"https://avatars.githubusercontent.com/u/270504?v=3","gravatar_id":"","url":"https://api.github.com/users/winduptoy","html_url":"https://github.com/winduptoy","followers_url":"https://api.github.com/users/winduptoy/followers","following_url":"https://api.github.com/users/winduptoy/following{/other_user}","gists_url":"https://api.github.com/users/winduptoy/gists{/gist_id}","starred_url":"https://api.github.com/users/winduptoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winduptoy/subscriptions","organizations_url":"https://api.github.com/users/winduptoy/orgs","repos_url":"https://api.github.com/users/winduptoy/repos","events_url":"https://api.github.com/users/winduptoy/events{/privacy}","received_events_url":"https://api.github.com/users/winduptoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-02T21:59:29Z","updated_at":"2015-09-02T23:24:57Z","closed_at":null,"body":"When I call `createURI`, I get the following error in my callback. It's pretty cryptic and I have no idea what's causing it.\r\n\r\n```\r\n\tupload.createURI({\r\n\t\tbucket: 'mybucket',\r\n\t\tfile: 'myfile.jpg',\r\n\t\tauthConfig: {\r\n\t\t\tprojectId: 'XXXXXX',\r\n\t\t\tkeyFilename: 'XXXXXX'\r\n\t\t}\r\n\t}, function(err, uri) {\r\n\t\tconsole.log(err, uri);\r\n\t});\r\n```\r\n\r\n```\r\n{ errors: [ { domain: 'global', reason: 'required', message: 'Required' } ],\r\n  code: 400,\r\n  message: 'Required' }\r\n```"},"comment":{"url":"https://api.github.com/repos/stephenplusplus/gcs-resumable-upload/issues/comments/137272300","html_url":"https://github.com/stephenplusplus/gcs-resumable-upload/issues/3#issuecomment-137272300","issue_url":"https://api.github.com/repos/stephenplusplus/gcs-resumable-upload/issues/3","id":137272300,"user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T23:24:57Z","updated_at":"2015-09-02T23:24:57Z","body":"Woops, sorry for sending you down that road that was clearly wrong. Instead of logging `resp`, `resp.toJSON()` should produce a much more copy-pastable object."}}