mediaObject response in actions-on-google v2?


Question: 

mediaObject response is not working, without any error in logs

 conv.ask(new MediaObject({
        name: channel.name,
        url: channel.stream_url,
        description: `Regional`,
        })
    }));



1 Answer: 

By looking at the official document, it says

Your Action must include suggestion chips if the response is not a final response.

This might be the case for you, try including suggestion chips also

conv.ask(new Suggestions(['Suggestion1', 'Suggestion2']));
 

More Articles


Magento: Where does Magento 1.8 store payment method options in the database?

Where does Magento store payment method options in the database?I looked around and did not find it.

dialogflow - how to define 'App' statement in firestore database?

I have to define 'app' inorder to store user details from dialogflow to firestore databaseconst app = new App({request:request, response:response});inorder to use this line of code i need 'App' to be defined in firestore code,for which i have used this line,const App = require('firebase-functions')

java - How can I use the response from a JOptionPane?

This is the first time I have used a confirm box and I'd like some advice on how to use it please, I want to use the users input of "Yes or No" but not sure how to do it? If I wanted to reference the input from the JOptionPane in an if statement how would go about it?JOptionPane.showConfirmDialog(nu


actions on google - Request Sync always returns 404 : "Error: Requested entity was not found."

I'm having a hard time implementing requestSync. It always returns "error": { "code": 404, "message": "Requested entity was not found.", "status": "NOT_FOUND" }I use Node.js/Express for the backend. The linking/unlinking with the Google Home app work and my actions work as well. It's rea

With Actions on Google, what is the recommended way to get the user's country with coarse location information?

The getDeviceLocation() call may return either lat/lon coordinates if the surface provides precise location information or a ZIP code and a city for coarse location information.With the former one can use the Google Maps API to reverse-geocode the coordinates, the latter, however, can be ambiguous a

actions on google - Asking while using SSML in Dialogflow webhook

I am trying to build an Actions on Google Agent via DialogFlow and keep getting errors when trying to ask the user a question while including ssml.I have built the agent on DialogFlow, have logic implemented using the fulfillment webhook (implemented via the node module dialogflow-fulfillment) and h


azure - Microsoft Bot Framework testing connection now only results in internal service errors

Whenever I test my bot using the "test connection to your bot" feature, it only response with "internal service error" and a 500 status code. It didn't do this yesterday, and I havent changed anything since then.What more, the bot works fine when I run it on the bot framework emulator on my local ma

python - Callback URL error when setting up webhook for messenger

I'm trying to follow this tutorial to set a chatbot for messenger. I'm stuck on the webhook setup. I added the page token and verify token to heroku, but when I try to add the heroku URL as the callback URL I get The URL couldn't be validated. Callback verification failed with the following error

localization - Vaadin ConfirmDialog changing the title

I want to change the title "Confirm" of a ConfirmDialog to something in my language. I looked at this, but the code does not make sense to me since the show method in my vaadin addon is a static method and it appears to be impossible to show a dialog returned by the factory.I used this code to wrap

magento - How to get id of last purchase with multiple addresses?

I have a payment method that needs to be redirected to the page it like paypal, I can add a code block on the page of success but need to know if petido that was just completed was paid with my payment method, so I can redirect.Note: several people say it is not possible to redirect payments with mu