My Business
4K members online now
4K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply

Getting 401 Error Unauthenication for some users

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We are using a service account to access / use the new GMail API to manage Signatures in a clients GSuite Domain. Some users we bet perfect validation, and others we get a 401 error. All in the same domain, same settings etc. The same users get the same validation results every time. User A always validates and user B does not. 

 

When we comment out the two scopes in the API Access (https://www.googleapis.com/auth/gmail.settings.basic and https://www.googleapis.com/auth/gmail.settings.sharing) then all the users validate. 

 

Any ideas or help would be much appreciated. 

1 Expert replyverified_user

Re: Getting 401 Error Unauthenication for some users

Google Employee
# 2
Google Employee

Hi @Lorna K

 

Please find help on the Gmail API Support page if you have any question related to the Gmail API.

 

Thanks,

Shalini