Deploying a google endpoint sample app

442 views
Skip to first unread message

HARSHA S

unread,
Nov 12, 2021, 11:46:32 AM11/12/21
to Google Cloud Endpoints
Hi All,

I am trying to deploy a sample google endpoint NodeJS app.
And i have deployed the openapi-document and setup API key from google cloud.

But facing an error whenever I make a request from endpoint portal, error as below:
401 OK Invalid IAP credentials: empty token

any help is appreciated.

rwabukumba

unread,
Nov 12, 2021, 8:22:35 PM11/12/21
to Google Cloud Endpoints
Hi, 

It appears that this issue may be related to the known outage that affected multiple services including Cloud Endpoints. However, the issue has since been mitigated. 

If you are still facing the error message at this time, verify that you are correctly obtaining the token being used to authenticate the user since the error message hints at the issue being a misconfiguration of the auth payload. It is also worth using special headers since that will give you an idea of where the root cause of the issue lies (IAP or Application). 

If you try all mitigation measures above, and issue persists, I recommend opening a support case so the issue can be investigated thoroughly. 
Reply all
Reply to author
Forward
0 new messages