You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded from 3.4.0 to 4.2.0 recently. I can't test 3.4.0 easily now because of the config changes, but I think the error message for expired tokens was clearer there.
Now it shows the "Usage" text (but I called the program correctly so why are you showing this?) and shows the errors twice.
I think it should show the error and then tell me to run gphotos-uploader-cli auth. Thanks
[info] Reading configuration from '/home/tbm/.gphotos-uploader-cli/config.hjson'
[info] Authenticating using token for '.......'
Error: oauth2: "invalid_grant" "Token has been expired or revoked."
Usage:
gphotos-uploader-cli push [flags]
Flags:
--dry-run Dry run mode
-h, --help help for push
Global Flags:
--config string Sets the config folder path. All configuration will be kept in this folder. (default "/home/tbm/.gphotos-uploader-cli")
--debug Log very verbose information. Useful for troubleshooting.
--silent Run in silent mode and prevent any log output except panics.
Error ocurred: oauth2: "invalid_grant" "Token has been expired or revoked."zsh: exit 1 gphotos-uploader-cli push
The text was updated successfully, but these errors were encountered:
I upgraded from 3.4.0 to 4.2.0 recently. I can't test 3.4.0 easily now because of the config changes, but I think the error message for expired tokens was clearer there.
Now it shows the "Usage" text (but I called the program correctly so why are you showing this?) and shows the errors twice.
I think it should show the error and then tell me to run
gphotos-uploader-cli auth
. ThanksThe text was updated successfully, but these errors were encountered: