tsiemens / gmail-tools

Cli Tools for Gmail filters
MIT License
11 stars 1 forks source link

Permissions for filter commands may be broken #20

Closed tsiemens closed 2 years ago

tsiemens commented 2 years ago

Need to investigate more. Been a while since I used this command, so there might be some regression I didn't notice, or an API change that broke it.

$ gmailcli filter update
Failed to get account email Get "https://gmail.googleapis.com/gmail/v1/users/me/profile?alt=json&prettyPrint=false": oauth2: cannot fetch token: 400 Bad Request
Response: {
  "error": "invalid_grant",
  "error_description": "Bad Request"
}
tsiemens commented 2 years ago

Evidently not actually broken, but I did add an option for re-auth in the auth command in 15d9b2e , so that makes this somewhat of a non-issue.