-
Notifications
You must be signed in to change notification settings - Fork 192
TypeError: Cannot read property 'stack' of undefined for Action on google node module #405
Comments
Can you provide the full stacktrace? The snippet provided doesn't include an error message. When does this error happen? Before deploying to Firebase? |
Hi @Fleker the error occurs for my first call only. When i start Talk to my action..then account linking happening successfully and after that i am getting error saying that your action is not responding. Then i went to firebase to check the logs and i got this error log. That is the full stack trace from firebase logs
Previously my action was working fine,recently i changed my firebase function node js version to 10 and again i updated all my node modules to the latest which you can see in pacakge.json. Its strange for me to, i don't understand where the error is coming, but as per the log it is happening inside actions-on-google node module at express.js. |
This line is throwing an error in your code, but haven't determined why. |
So what is the solution for this @Fleker. Please guide me as my action is deployed and people will be using it. |
I'm investigating this at the moment |
I am unable to reproduce the error you're facing even with replicating your Default Welcome Intent. Are there any other logs like the request header/body when this happens, which may be able to help diagnose why this may happen? |
Yes @Fleker i have both request header and body. Please check below for both Request Header
Request Body
Hope this will help you solve the issue. |
I am not encountering this error when trying this on my own example project. |
@Fleker can you drop your mail, i will send you my whole code zip folder so that you can check that. if you have problem sharing your mail publicly please reply to my mail i will forward you. my mail id : sivasankar.android@gmail.com. |
I am using Firebase cloud functions as webhook for my action-on-google dialogflow fulfilment.
I am showing only part of My index.js file as below
My package.json file is as below
I am getting the following error while testing my actions-on-google
Error is not in my index.js. The error is in actions-on-google npm modules library at express.js.
I deleted my node modules and installed again and rebuild the code. still same error coming.
Please help me in solving this issue.
The text was updated successfully, but these errors were encountered: