question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dialogflow IntentHandler not found for intent:

See original GitHub issue

Hey everyone!

I’ve recently got into this issue, that when I’m visiting my actions-on-google node server, it is throwing me an error:

{"error":"Dialogflow IntentHandler not found for intent: "}

This is my basic code for a test Welcome Intent,


const express = require('express')
const bodyParser = require('body-parser')
 
var port = process.env.PORT || 3000;

express().use(bodyParser.json());
express().use(bodyParser.urlencoded({ extended: true }));

const {dialogflow} = require('actions-on-google');

const app = dialogflow();

app.intent('Default Welcome Intent', conv => {
  conv.ask('What do you wanna do next?')
})

express().use(bodyParser.json(), app).listen(port);

I’ve used the similar code in my another actions and it’s live on Assistant. If anybody has faced similar issue please let me know, and also please suggest me if I’m doing something wrong/ why isn’t it work.

and by the way here is my package.json

{
  "name": "package-name",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "AuthorName",
  "license": "ISC",
  "dependencies": {
    "actions-on-google": "^2.2.0",
    "body-parser": "^1.18.3",
    "express": "^4.16.3"
  }
}

Thanks!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Canaincommented, Sep 14, 2018

@timpron So the error on there is that the userStorage data is invalid and thus parsed incorrectly.

Were you previously not using the Actions Node.js library? I would try resetting the actions data then try again with an empty userStorage.

0reactions
timproncommented, Sep 25, 2018

“We apologize if you were inconvenienced by the delay in helping with your issue. We understand the issue you’ve been experiencing hasn’t been resolved. We want you to know we’re working it. You’ll get updates from us on the status of the issue until it’s resolved.”

This is the reply what I’ve been getting foe weeks now. I suggest, you find a workaround for now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dialogflow IntentHandler not found for intent: myIntent ...
In V2 API, the action name doesn't matter here. Your intent name must be identical to the string you reference in your code,...
Read more >
Intents | Dialogflow ES - Google Cloud
An intent categorizes an end-user's intention for one conversation turn. ... Dialogflow would match that end-user expression to the forecast intent.
Read more >
DialogflowConversation | actions-on-google
The Dialogflow parameters from the current intent. Values will only be a string, an Object, or undefined if not included. Will also be...
Read more >
A deeper dive into Intents on Dialogflow | Analytics Vidhya
Collect the missing pieces of the puzzle. There will be cases where the end users do not express their intent in full or...
Read more >
Dialogflow | Programmatic Ponderings
Code samples in this post are displayed as GitHub Gists, which may not display ... In Dialogflow, will be building Intents — the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found