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

Dialogflow_V2.resetContexts not working #74

Open
OscarSaro opened this issue Sep 16, 2019 · 2 comments
Open

Dialogflow_V2.resetContexts not working #74

OscarSaro opened this issue Sep 16, 2019 · 2 comments

Comments

@OscarSaro
Copy link

Hi,

I would like to use the resetContext method, but it always throws this error Possible Unhandled Promise Rejection (id: 0): TypeError: undefined is not an object (evaluating 'this.client.getAccessToken'). I'm using the V2. My goal is to use Dialogflow_V2.resetContexts when the intent is settled as end of conversation. All the other methods I’m using work fine.

Is this method only available for V1? Or there is something wrong with my code?

@cadenmackenzie
Copy link

I am having the same issue. Happy to share code if necessary!

@martinlockett
Copy link

martinlockett commented Jul 8, 2020

Me too. See #86 for a fix

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