Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drive API: Could not determine client ID from request. #3

Open
synox opened this issue May 18, 2018 · 0 comments
Open

Drive API: Could not determine client ID from request. #3

synox opened this issue May 18, 2018 · 0 comments

Comments

@synox
Copy link

synox commented May 18, 2018

I fixed a few bugs. See PR #2

But there is still a problem after that:

http response:

  { error: 'invalid_request',
    error_description: 'Could not determine client ID from request.' } },

code: '400' }

http request:

    url: 'https://www.googleapis.com/oauth2/v4/token',
    data: 'refresh_token=1%asdf-mytoken&client_id=&client_secret=&grant_t

there the client_id and client_secret are empty!

but i have in my .env file:

ACCESS_TOKEN=asdf
CLIENT_ID="asdf.apps.googleusercontent.com"
CLIENT_SECRET="asdf"

@synox synox changed the title Bugfixes Drive API: Could not determine client ID from request. May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant