myges-cli icon indicating copy to clipboard operation
myges-cli copied to clipboard

Google Calendar - 400 API error

Open imtomjorge opened this issue 3 years ago • 8 comments

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.

imtomjorge avatar Apr 26 '22 16:04 imtomjorge

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 ;-)

Nouuu avatar Apr 27 '22 07:04 Nouuu

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 avatar Apr 27 '22 08:04 imtomjorge

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 avatar Apr 27 '22 08:04 imtomjorge

Did you find out what the main problem was?

imtomjorge avatar May 23 '22 15:05 imtomjorge

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.

christian-vdz avatar Jun 04 '22 14:06 christian-vdz

@Nouuu any idea on this ?

quantumsheep avatar Jul 08 '22 10:07 quantumsheep

Tried to reproduce this issue but still not found

Nouuu avatar Jul 08 '22 10:07 Nouuu

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! :)

imtomjorge avatar Jul 08 '22 15:07 imtomjorge