-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Unable 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"}}
lewismclennan, Jefferson-Lima-Santos and timkim0713
Metadata
Metadata
Assignees
Labels
No labels