-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Constant 403s #392
Comments
Same issue, any ideas? |
I just switched to rclone and it fixed everything :P |
The author hardcoded his or her own client ID and secret directly in the source: Line 17 in c3cbcce
Which means, if you're using the compiled binary published in this repository's releases page, you are effectively sharing the same quota with everyone else who downloaded a binary. Google APIs make a distinction between rate limit errors and user rate limit errors. In this case the error is most likely "not your fault" but rather a symptom of a lot of people using You can enable the Drive API in your own account, create a set of credentials, replace it in the source above, and recompile. Then the API-level quota will be consumed by only yourself. |
This is weird because I have the same problem when I run the command via crontab, but if I run it manually it works. |
@LINKIWI I did the same things as you instructed. However, after I changed my ClientID and ClientSecret I got this error:
Note that before compilation I moved build-all.sh,print_usage_markdown.sh, and upload.sh to the gdrive folder where I can succesfully compile with the old ClientID and ClientSecret. |
Seeing this issue also... Even seems to happen for simple operations like creating a folder. Also noticing that this bug has been lingering since 2017... I guess Rclone is the answer... Thanks anyways. |
So which is correct? or am I missing something? |
NB: @gdrive + @LINKIWI: |
What do you mean by "doesn't work"? |
Yesterday "other" app type produced google error on creating. |
pps To speed things up binary editing can be used (to replace Id and secret in the built executable) |
Would anyone be abel to help me out either explain step by step how edit the binary or how to compile a version for me that would work with ubuntu 16.04. im willing to even pay a little for help if your willing talk me trough and help privately. Like the amount of 403 errors these days just to point of this tool not being useful anymore. But yea at end of the day best solution would be to move this portion to a config file so everyone change change it themselves. |
You can build from sources like all do. About editing just use any binary editor (like ghex2, hexedit, etc.) |
Available workaround described in #426. Possible solutions will be investigated. |
Rebuild the repo with your own credentials. **use sudo if needed on your enviroment apt-get install git |
I rebuilt gdrive and still got the 403 error. |
#!/bin/bash |
Use this if your list contains directories... #!/bin/bash
done < $FILES |
@grandeto |
@pablodc00 It seems to be an old go version or go env variable not set correctly issue. checkout here: |
For people who cant find these instruction easy this is screen shot of how it will looks like . |
Failed to get file: googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded
Pretty much anytime I run gdrive download I end up with this
The text was updated successfully, but these errors were encountered: