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

Google Calendar - 400 API error #20

Open
imtomjorge opened this issue Apr 26, 2022 · 8 comments
Open

Google Calendar - 400 API error #20

imtomjorge opened this issue Apr 26, 2022 · 8 comments

Comments

@imtomjorge
Copy link

I am currently experiencing a problem with the authorization code retrieval link.
Once the JSON file is downloaded, and the "client_id" and "client_secret" data is extracted, the URL communicating the authorization code, returns the following error:
Capture d’écran 2022-04-26 à 18 13 48
The application type is properly defined as "Desktop app", but the issue still persists.

Technical env:
X86 VM + Debian Bullseye + NPM/NodeJS installed from source.
I created a new project, and defined the application as "published.

@Nouuu
Copy link
Collaborator

Nouuu commented Apr 27, 2022

Sometime, the url showed in console may break (due to line break) and open incomplete link, this result to an error when you trying to authorize.
Be sure to copy and open the entire link and tell me if it works again ;-)

@imtomjorge
Copy link
Author

Thanks for your answer.
I've tried again with multiple SSH clients, and the issue persists even with a specific windows size and a "one-line" link.

@imtomjorge
Copy link
Author

FYI: I've also tried with another VM and another ssh client, but the issue remain the same.
Let me know if you need further details to debug! :)

@imtomjorge
Copy link
Author

Did you find out what the main problem was?

@christian-vdz
Copy link

I'm having the same issue. Did you find anything to fix this?
I noticed that I don't have urn:ietf:wg:oauth:2.0:oob in the redirect_url list from downloaded credentials.json, is this the cause of this issue? I didn't find a way to edit the redirect urls in Google cloud console.

@quantumsheep
Copy link
Owner

@Nouuu any idea on this ?

@Nouuu
Copy link
Collaborator

Nouuu commented Jul 8, 2022

Tried to reproduce this issue but still not found

@imtomjorge
Copy link
Author

Tried to reproduce this issue but still not found

Do you need further details from my side?
I can provide more information, just in case! :)

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

4 participants