I started a new new app with actions on google and when I run the simulator I'm receiving this message "My Test App isn't responding right now. Try again soon".
I am using firebase to deploy my fulfilment which looks like this
const functions = require("firebase-functions");
const App = require("actions-on-google").DialogflowApp;
const firebase = require("firebase");
const firebaseAdmin = require("firebase-admin");
firebaseAdmin.initializeApp(functions.config().firebase);
exports.cabDemo = functions.https.onRequest((request, response) => {
const app = new App({ request, response });
const BOOK_TAXI = "book.taxi";
debugger;
function bookTaxi(app) {
app.ask("Currently looking for taxis now. Anything else?");
}
const actionMap = new Map();
actionMap.set(BOOK_TAXI, bookTaxi);
app.handleRequest(actionMap);
});
I have tested this and it deployed correctly yesterday and when I tried to run it this morning it gave me that not responding message. It still deploys correctly but I cannot test it on the simulator.
I have the actions on google project and api.ai projects linked properly so I don't think this is the problem. But I could easily be wrong.
The response from the web simulator is
{
"audioResponse": "//NExAARsE...",
"conversationToken": "GidzaW11bG...",
"response": "Cabforce demo isn't responding right now. Try again soon.",
"visualResponse": {
"visualElements": []
}
}
and the DEBUG message is:
{
"agentToAssistantDebug": {},
"assistantToAgentDebug": {}
}
This is a duplicate of another question on Stack Overflow => here
There was no solution so I had to repost the question.
I'm receiving the same response and debug message.
All help would be great, thanks !
Ok, I may have stumbled on a fix. It looks like you can now trigger test apps by their name.
Hope that works for you. Seemed to work for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With