Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'toLowerCase' of null #30

Open
Ragha2207 opened this issue Nov 16, 2018 · 4 comments
Open

TypeError: Cannot read property 'toLowerCase' of null #30

Ragha2207 opened this issue Nov 16, 2018 · 4 comments

Comments

@Ragha2207
Copy link

Hi,

I tried the NodeJs solution. Included my DirectlineSecret of my Microsoft-Bot in the
var DirectlineSecret = ".................................";
app.use(actionsOnGoogleAdapter(DirectlineSecret).router);

but I am getting the following error:

TypeError: Cannot read property 'toLowerCase' of null
at continueConversation (\bot-framework-actions-on-google\lib\fulfilment.js:71:36)
at \bot-framework-actions-on-google\lib\fulfilment.js:122:5
at ActionsSdkApp.handleRequestAsync (actions-on-google\assistant-app.js:511:29)
at ActionsSdkApp.handleRequest (actions-on-google\assistant-app.js:419:10)
at bot-framework-actions-on-google\lib\fulfilment.js:135:9
at Layer.handle [as handle_request] (express\lib\router\layer.js:95:5)
at trim_prefix (\express\lib\router\index.js:317:13)
at express\lib\router\index.js:284:7
at Function.process_params \express\lib\router\index.js:335:12)
at next (express\lib\router\index.js:275:10)

Please help me with this issue.

Kind Regards,
Ragha

@vignesh-123
Copy link

I am also having the same issue. Is the module working for anyone.

@vignesh-123
Copy link

I was hitting the wrong URL. That is the reason for the issue. Once I changed that the connection established

@ghost
Copy link

ghost commented Feb 7, 2019

@vignesh-123 What do you mean by hitting the wrong URL ? I am also facing the same issue.

@alejandroesteban
Copy link

alejandroesteban commented Jul 22, 2020

@SiddharthSunchu What do you mean by hitting the wrong URL ? I am also facing the same issue.

Hello friend, could you solve your problem? which url has to be configured.
I have for example: https://domain.azurewebsites.net/api/messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants