{"action":"closed","issue":{"url":"https://api.github.com/repos/pulkitjalan/google-apiclient/issues/5","labels_url":"https://api.github.com/repos/pulkitjalan/google-apiclient/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/pulkitjalan/google-apiclient/issues/5/comments","events_url":"https://api.github.com/repos/pulkitjalan/google-apiclient/issues/5/events","html_url":"https://github.com/pulkitjalan/google-apiclient/issues/5","id":100677086,"number":5,"title":"trouble accessing Gmail Service","user":{"login":"devinfd","id":468399,"avatar_url":"https://avatars.githubusercontent.com/u/468399?v=3","gravatar_id":"","url":"https://api.github.com/users/devinfd","html_url":"https://github.com/devinfd","followers_url":"https://api.github.com/users/devinfd/followers","following_url":"https://api.github.com/users/devinfd/following{/other_user}","gists_url":"https://api.github.com/users/devinfd/gists{/gist_id}","starred_url":"https://api.github.com/users/devinfd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devinfd/subscriptions","organizations_url":"https://api.github.com/users/devinfd/orgs","repos_url":"https://api.github.com/users/devinfd/repos","events_url":"https://api.github.com/users/devinfd/events{/privacy}","received_events_url":"https://api.github.com/users/devinfd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"pulkitjalan","id":4124930,"avatar_url":"https://avatars.githubusercontent.com/u/4124930?v=3","gravatar_id":"","url":"https://api.github.com/users/pulkitjalan","html_url":"https://github.com/pulkitjalan","followers_url":"https://api.github.com/users/pulkitjalan/followers","following_url":"https://api.github.com/users/pulkitjalan/following{/other_user}","gists_url":"https://api.github.com/users/pulkitjalan/gists{/gist_id}","starred_url":"https://api.github.com/users/pulkitjalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulkitjalan/subscriptions","organizations_url":"https://api.github.com/users/pulkitjalan/orgs","repos_url":"https://api.github.com/users/pulkitjalan/repos","events_url":"https://api.github.com/users/pulkitjalan/events{/privacy}","received_events_url":"https://api.github.com/users/pulkitjalan/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-08-13T02:33:01Z","updated_at":"2015-09-15T19:02:13Z","closed_at":"2015-09-15T19:02:13Z","body":"I keep getting the following error:\r\n```php\r\nError calling GET https://www.googleapis.com/gmail/v1/users/me/messages: (400) Bad Request\r\n```\r\nwith the following code:\r\n```php\r\n$gmail = \\Google::make('gmail');\r\n$results = $gmail->users_messages->listUsersMessages('me');\r\n```\r\n\r\nAs far as I can tell I have set up the credentials correctly yet, its not working. Any advise?"}}