What's the difference between a 401 and a 403 error in Google API requests?

Responsive Ad Header

Question

Grade: Education Subject: Support
What's the difference between a 401 and a 403 error in Google API requests?
Asked by:
75 Viewed 75 Answers

Answer (75)

Best Answer
(350)
A 401 Unauthorized error means the client lacks the necessary credentials for authentication, whereas a 403 Forbidden error means the client is authenticated but doesn't have the necessary permissions to access the requested resource. So, 401 deals with the initial authentication, and 403 deals with authorization after authentication is successful.