google-drive-upload icon indicating copy to clipboard operation
google-drive-upload copied to clipboard

2: Missing String

Open mkasem06 opened this issue 2 years ago • 4 comments
trafficstars

After I press enter when I complete the process in the browser It gives me this: /home/ubuntu/.google-drive-upload/bin/gupload: line 19: 2: Missing string

mkasem06 avatar Feb 18 '23 10:02 mkasem06

I am getting the same error, did you get a solution?

EddiesTech avatar Feb 20 '23 22:02 EddiesTech

OK, I have found a solution. I used the below video to generate an access token and then a refresh token. Shove that refresh token into gupload and you should be good to go https://www.youtube.com/watch?v=1gsy7s5vlQM

EddiesTech avatar Feb 20 '23 23:02 EddiesTech

OK, I have found a solution. I used the below video to generate an access token and then a refresh token. Shove that refresh token into gupload and you should be good to go https://www.youtube.com/watch?v=1gsy7s5vlQM

Thanks for the solution, although I solved it with another way, it was also by generating a refresh token but through the "Get an access token and refresh token and select API scopes" in this website

Still that didn't fix the issue though, we found a workaround only, but the issue still exists

mkasem06 avatar Feb 21 '23 15:02 mkasem06

Hi there,

Here's the solution: https://medium.com/@amanpal2072004/how-to-generate-refresh-token-and-use-them-to-access-google-api-f7565413c548

Cheers.

jontorrado avatar Apr 18 '24 10:04 jontorrado