All google api call responds with 400 w/o body
./gdrive list Failed to list files: googleapi: got HTTP response code 400 with body:
I have just confirmed access with the user. Trying to Upload a file also has the same response.
I have recompiled the gdrive binary with my own client and secret, and trying to access the same user's gdrive who owns the api key.
I have the same issue. I get this error message whenever I try to use gdrive.
"googleapi: got HTTP response code 400 with body"
I have the same issue, "Failed to list files: googleapi: got HTTP response code 400 with body: " or "Failed to upload file: googleapi: got HTTP response code 400 with body:". It seems this issue has been occurring since 13/11/2019.
Hi all, Please try build gdrive with your Google credential. I wrote a script to do that very simply: https://github.com/mbrother2/backuptogoogle
I'm seeing the same issue as well. I'll give the above a try. Thank you @mbrother2.
Hi all, Please try build gdrive with your Google credential. I wrote a script to do that very simply: https://github.com/mbrother2/backuptogoogle
Hi mbrother2, it seems the script works on Linux and FreeBSD only, is there any script available to do the same in Windows? Thanks.
@wasanthakj
Maybe I can write a script to build gdrive on Windows. Please follow https://github.com/mbrother2/backuptogoogle
Thank you!
@jdstone
You welcome :)
Hi all, Please try build gdrive with your Google credential. I wrote a script to do that very simply: https://github.com/mbrother2/backuptogoogle
I didn't tried your script, but simple replaced the client_id and client secret to my own, and the compile with 'go build'. The compiled binary drops the same error as before. Please note, that I tried to use the same g suit user's gdrive, who owns the client id, so there should be no complain from google's side.
The http 400 problem doesn't refer to authentication issue, but a changed API interface instead on Google API. Gdrive API's section with release notes is luckily returns 404, so I can't find a reference on what could have changed on 13th of november.
It's also possible, that the interface change affects the authorization process instead, not the google drive api itself. This would explain why we get the same error for any API activity.
workaround: I have temporarily switched to use rclone instead
At least at you work rclone T_T
workaround: I have temporarily switched to use rclone instead
So what does it mean? I don't understand your message. Do you recommend a procedure to make it work again?
@mbrother2, I used your script successfully to build gdrive and now it's working great! Thank you.
@jdstone
You welcome :)