I’m having trouble using the DialogFlow REST API with the API key authentication method. When I use the following code:
https://dialogflow.googleapis.com/v2/projects/projectId/agent?key=[YOUR_API_KEY]
I get the following response:
{ “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” } }