You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2024. It is now read-only.
For some reason my responses back to dialogflow are in this format:
{ "status": 200, "headers": { "content-type": "application/json;charset=utf-8" }, "body": { "payload": { "google": { "expectUserResponse": true, "richResponse": { "items": [ { "simpleResponse": { "textToSpeech": "What would you like to search for, or what would you like to ask?" } }, ] } } }, "outputContexts": [ { "name": "projects/project-id/agent/sessions/session-id/contexts/_actions_on_google", "lifespanCount": 99, "parameters": { } } ], "fulfillmentText": "Cannot display response in Dialogflow simulator. Please test on the Google Assistant simulator instead." } }
instead of just the body payload as the content. This is causing Google Assistant to fail to invoke the agent. What could be happening here?
The text was updated successfully, but these errors were encountered:
Responses in the platform are not supposed to be plaintext. You should expect them to be in a JSON format which includes text as just one part of the overall payload.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For some reason my responses back to dialogflow are in this format:
{ "status": 200, "headers": { "content-type": "application/json;charset=utf-8" }, "body": { "payload": { "google": { "expectUserResponse": true, "richResponse": { "items": [ { "simpleResponse": { "textToSpeech": "What would you like to search for, or what would you like to ask?" } }, ] } } }, "outputContexts": [ { "name": "projects/project-id/agent/sessions/session-id/contexts/_actions_on_google", "lifespanCount": 99, "parameters": { } } ], "fulfillmentText": "Cannot display response in Dialogflow simulator. Please test on the Google Assistant simulator instead." } }
instead of just the body payload as the content. This is causing Google Assistant to fail to invoke the agent. What could be happening here?
The text was updated successfully, but these errors were encountered: