-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exit status code 18: Token has been expired or revoked #282
Comments
I have a similar problem. In my case i get the following error:
It seems my weekly backups stopped working two weeks ago. I discovered the GAM project access in my account was deleted, so i tried to recreate the project, but even after doing it, it doesn't work anymore. I suspect something has happened either with the GAM project or with Google Cloud Platform. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
A simple manual fix for me was to delete cfg files for mailbox and run backup again. This causes OAuth token to be regenerated. The cfg files were at |
Google, in their infinite wisdom, has limited authorization for "testing" projects to seven days. After seven days, the token expires and must be reauthorized. https://support.google.com/cloud/answer/10311615?hl=en#zippy=%2Ctesting |
I followed the directions in the Wiki to create the App etc. I hit this 7 day issue, but am now confused.
I understand this is a Google question but it is related to GYB. |
Not sure if this is by design or if it will break in the future... but, I think I might have a workaround. Now, the workaround is simply to go back to the app setting and set it back to TEST mode (and re-add yourself as the only test user). I hope this will not change in the future! |
Trying this suggestion right now. My GYB app seems to not have an expire date anymore, but the downloaded token does have an expiry. I should notice in ~30min if that has any impact to anything. Edit: no worries about the token expiring, it's prolonged with an hour. I guess when GYB accesses your app. |
Full steps to reproduce the issue:
I have an account setup for read-only backup that runs daily. It worked successfully many times.
I run my backups with the following:
Expected outcome (what are you trying to do?):
A successful backup
Actual outcome (what errors or bad behavior do you see instead?):
Exit status code 18
The request to refresh tokens is failing even though it has worked until a few days ago. I have not invalidated the GYB authorization in my account.
The text was updated successfully, but these errors were encountered: