-
Notifications
You must be signed in to change notification settings - Fork 0
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
Auto clean failed with error #9
Comments
from the error message,
the following code cannot test if the variable ${total} is 0, it only tests if it is not empty. if [ ! -z ${total} ]; then
used_ratio=$(get_percent ${used} ${total})
free_ratio=$(get_percent ${remaining} ${total})
else
continue
fi To fix this issue, we have to find what the API response looks like when it happens. Currently, wait for another time to reproduce and fix it. |
Sometimes, the refreshing access token will fail and leads to wrong and invalid data being written into the data/token.json file, checked MS OAuth2 API, the error message doesn't contain a nested 'errror.message' path, so fetching the error message by Once this API returns an error and continues, acces_token may fail to expire eventually, then manual re-authorization is required to fix this issue due to the continuous failure of refresh tokens. |
Fixed |
The text was updated successfully, but these errors were encountered: