Sample Name
Gmail Quickstart
Expected Behavior
Connection OK
Actual Behavior
401 Unauthorized
Specifications
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
Sample Name
Gmail Quickstart
Expected Behavior
Connection OK
Actual Behavior
401 Unauthorized
Specifications
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