# 401 not authenticated error google oauth

**URL:** <https://community.postman.com/t/401-not-authenticated-error-google-oauth/52368>\
**Category:** Help Hub\
**Tags:** authentication\
**Created:** [September 26, 2023, 4:02am UTC](https://community.postman.com/t/401-not-authenticated-error-google-oauth/52368 "2023-09-26T04:02:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![docking-module-ast18](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@docking-module-ast18](https://community.postman.com/u/docking-module-ast18)\
**Post date:** [September 26, 2023, 4:02am UTC](https://community.postman.com/t/401-not-authenticated-error-google-oauth/52368/1 "2023-09-26T04:02:14Z")

</div>

Hello, I’m starting to learn on how to authenticate sign in using Google API. My sign in button works fine but when i test the endpoint api via Postman, i received 401 not authenticated. Also I got this error line in my VS Code: [next-auth][error][CLIENT\_FETCH\_ERROR]  
[Errors | NextAuth.js](https://next-auth.js.org/errors#client_fetch_error) “[object Object]” is not valid JSON

How can I fix that?

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [September 26, 2023, 10:54am UTC](https://community.postman.com/t/401-not-authenticated-error-google-oauth/52368/2 "2023-09-26T10:54:39Z")

</div>

Have a look at the following in the first instance.

[How to Access Google APIs Using OAuth 2.0 in Postman | Postman Blog](https://blog.postman.com/how-to-access-google-apis-using-oauth-in-postman/)

If you still need help, then please use screenshots to show where you are at.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [October 26, 2023, 10:55am UTC](https://community.postman.com/t/401-not-authenticated-error-google-oauth/52368/3 "2023-10-26T10:55:39Z")

</div>

Closed on October 26, 2023, 10:55am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
