B4J Question Trying to use Google Drive and Upload... but getting invalid_grant

Magma

Expert
Licensed User
Longtime User
Hi there...

tried some examples found in forum for using Google Drive... created api and anything needed but getting this error:


I am uploading a simple project to test it may be with your client id & secret... or if someone have idea what happens...

Thanks in advance !
 

Attachments

  • GDrive_Upload.zip
    11.8 KB · Views: 159
Last edited:

Magma

Expert
Licensed User
Longtime User
...well, actually it seems the same.. because coppied from there...
but... first time getting token...


may it is something from my local-firewall... because i am seeing an empty page at browser (edge) opening 127.0.0.1:51067 and after reloading-page (2-3 times manually - pressing enter at the address bar)... :-(

What is the right procedure... from running side ?

Press run at b4j...
opens browser... and selecting google account - then asking for permissions for a not tested app... and then continues to this address: 127.0.0.1:51067...
... then my at log side (after hitting manual enter - that i think must not happening)
...
Getting access token from authorization code...
Token received. Expires: 04/18/2023 10:29:19
Error occurred on line: 189 (GoogleOAuth2)


ps: IF i delete that dat file created into dir.app then repeating the same.......
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…