Skip to content
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

401 Unauthorized #95

Open
gabrielHneini opened this issue Feb 23, 2020 · 1 comment
Open

401 Unauthorized #95

gabrielHneini opened this issue Feb 23, 2020 · 1 comment

Comments

@gabrielHneini
Copy link

Sample Name

Gmail Quickstart

Expected Behavior

Connection OK

Actual Behavior

401 Unauthorized

Specifications

  • Java version 8
  • OS (Mac)

Tried the Quickstart Gmail api and used the code posted in the documentation but I kept having Exception in thread "main" com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized

@lecaros
Copy link

lecaros commented Feb 24, 2021

check if you have any token saved. If you're using Quickstart, it should be under tokens folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants