Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in GCP by (29.3k points)

By using REST in node js, but Google cloud store is giving me the following error.

{

    "error": {

        "code": 401,

        "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",

        "status": "UNAUTHENTICATED"

    }

}

Kindly let me know about the error and where I was going wrong.

1 Answer

0 votes
by (50.2k points)

This error occurs if you try to call the data store anonymously. You need to provide permission/authentication. Then you can access the data store. But here this error occurred due to the authentication issue.

For more details, refer to the below tutorial on GCP training. 

Related questions

0 votes
1 answer
asked Nov 24, 2020 in GCP by chandra (29.3k points)
0 votes
1 answer
0 votes
1 answer
asked Nov 27, 2019 in GCP by Sammy (47.6k points)
0 votes
1 answer
asked Nov 27, 2019 in GCP by Sammy (47.6k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...