{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/879","labels_url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/879/labels{/name}","comments_url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/879/comments","events_url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/879/events","html_url":"https://github.com/chrsmithdemos/google-api-java-client/issues/879","id":59553829,"number":879,"title":"Invalid_request from credential.refreshToken()","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-03-02T21:26:22Z","updated_at":"2015-03-02T21:26:29Z","closed_at":null,"body":"```\nVersion of google-api-java-client (e.g. 1.15.0-rc)?\n1.18.0\n\nJava environment (e.g. Java 6, Android 2.3, App Engine)?\nJava 7 with AppEngine\n\nDescribe the problem.\nWe're seeing a lot of invalid_request errors happening ( stack trace below ).  \nWe opened a ticket with the Google API team and they said it was an issue with \nthe java client library and to post here.  Below is there response for this and \nthe stack trace for the error.\n\n--- GOOGLE SUPPORT ---\nHello Nathan,\n\nThank you for your response. I do apologize due to the amount of time that has \ntaken for us to get back to you. We have isolated the issue and it seems that \nit is being caused by the API Client Library that is being used. Unfortunately, \nwe do not offer support for client library issues through this support portal.\n\nSimply post your questions on the issue tracker maintained by the Client \nlibrary team (http://code.google.com/p/google-api-java-client/downloads/list), \na member of our global developer community will respond shortly.\n\nNOTE: make sure you list the correct client libraries issue tracker for your \nuser (Python, Java, Etc.)\n--- END GOOGLE SUPPORT ---\n--- STACK TRACE ---\ncom.google.api.client.auth.oauth2.TokenResponseException: 403 OK\n{\n  \"error\" : \"invalid_request\"\n}\n        at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105)\n        at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:287)\n        at com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)\n        at com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(GoogleCredential.java:268)\n        at com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489)\n--- END STACK TRACE ---\n\nHow would you expect it to be fixed?\nNA\n\n\n```\n\nOriginal issue reported on code.google.com by `mike.sch...@promevo.com` on 19 May 2014 at 2:39"},"comment":{"url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/comments/76828539","html_url":"https://github.com/chrsmithdemos/google-api-java-client/issues/879#issuecomment-76828539","issue_url":"https://api.github.com/repos/chrsmithdemos/google-api-java-client/issues/879","id":76828539,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T21:26:29Z","updated_at":"2015-03-02T21:26:29Z","body":"```\nThanks for the clarification.  So basically if a domain has 100 users on our \napplication, and they all choose to view the documents ( using the drive \nservice ) for their own accounts using our application at the same time, we're \ngoing to hit the limit?  because that would be 100 ( or however many ) requests \nto get a token and that would count to the domain that they are all on.  Am I \ncorrect in saying this?\n\n( sorry, I'm just trying to understand exactly what will cause the limit so we \ncan figure out a way to fix this and not get this error )\n\nThanks,\nMike\n```\n\nOriginal comment by `mike.sch...@promevo.com` on 20 May 2014 at 11:55"}}