Authentication V2: "status": "UNAUTHENTICATED"
See original GitHub issueUnable to get access
constructor(props) {
super(props);
Dialogflow_V2.setConfiguration(
"your-dialogflow-project@asdf-76866.iam.gserviceaccount.com",
'-----BEGIN PRIVATE KEY-----\nMIIEvgIBADAN...1oqO\n-----END PRIVATE KEY-----\n',
Dialogflow_V2.LANG_ENGLISH_US,
'testv2-3b5ca'
);
}
componentDidMount(){
Dialogflow_V2.requestQuery("Some text for your Dialogflow agent", result=>console.log(result), error=>console.log(error));
}
error recieved: {“error”: {“code”: 401, “message”: “Request had invalid authentication credentials. 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”}}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6
Top Results From Across the Web
HTTP Status Codes 401 Unauthorized and 403 Forbidden for ...
The unauthenticated client is not allowed access the resource; authentication will not help (HTTP 403). The client's authentication credentials ...
Read more >Forbidden (403), Unauthorized (401), or What Else? - Auth0
401 Unauthorized is the status code to return when the client provides no credentials or invalid credentials.
Read more >android - I get UNAUTHENTICATED error when I call Method
Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.
Read more >All computers get: ddt.edu 2 (Unauthenticated) after ... - TechNet
Problem: When you click on the network status icon in the notification area on the taskbar it says: "ddt.edu 2 (Unauthenticated)" and ...
Read more >UNAUTHENTICATED · Issue #766 · googleapis/google-cloud ...
"message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve tried generating new service accounts and making sure the API is enabled on the project. Any idea what could be causing this?
Hello, has anyone figured this out? I’m facing the same problem and have been stuck on this for weeks