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 receive this error when launch my script to check Gmail letter.
Expected Behavior
Script can login to mailbox and return the list of emails
Actual Behavior
Script returns 401 , Invalid Credentials error
Steps to Reproduce the Problem
I've done all steps according to Gmail API documentation
Set up a new project on the Google Developers Console and enable the Gmail API.
2.Log in Developers Console and create credentials for OAuth 2.0. My credentials are:
Summary
I receive this error when launch my script to check Gmail letter.
Expected Behavior
Script can login to mailbox and return the list of emails
Actual Behavior
Script returns 401 , Invalid Credentials error
Steps to Reproduce the Problem
I've done all steps according to Gmail API documentation
2.Log in Developers Console and create credentials for OAuth 2.0. My credentials are:
googleapis
package for Gmail API andgoogle-auth-library
for OAuth 2.0.That is what I receive as response:
I tried different ports to
redirect_uris
, it did not help, I can't authenticateThe text was updated successfully, but these errors were encountered: