Title: An internal error occured in chatbot
Last modified: July 17, 2018

---

# An internal error occured in chatbot

 *  [kowsika](https://wordpress.org/support/users/kowsika/)
 * (@kowsika)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/an-internal-error-occured-3/)
 * As I was given Dialogflow agent client access token to my chatbot plugin, bornglobalchat
   doesnt works well, it shows internal error. Help me to solve the issue.
    -  This topic was modified 7 years, 11 months ago by [kowsika](https://wordpress.org/support/users/kowsika/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fan-internal-error-occured-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [SB Mahapatra](https://wordpress.org/support/users/sbmahapatra/)
 * (@sbmahapatra)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/an-internal-error-occured-3/#post-10521867)
 * I have similar problem with WordPress 4.9.7. But it is working for all intent
   hosted on dialogflow except the one which are fulfilled through webhook using
   Google Cloud service. The error in the Firebase server log is as below.
 * TypeError: Cannot read property
 * > ‘isInSandbox’
 *  of undefined
    at DialogflowConversation.Conversation (/user_code/node_modules/
   actions-on-google/dist/service/actionssdk/conversation/conversation.js:37:38)
   at DialogflowConversation (/user_code/node_modules/actions-on-google/dist/service/
   dialogflow/conv.js:27:9) at Function.<anonymous> (/user_code/node_modules/actions-
   on-google/dist/service/dialogflow/dialogflow.js:87:24) at next (native) at /user_code/
   node_modules/actions-on-google/dist/service/dialogflow/dialogflow.js:22:71 at
   __awaiter (/user_code/node_modules/actions-on-google/dist/service/dialogflow/
   dialogflow.js:18:12) at Function.handler (/user_code/node_modules/actions-on-
   google/dist/service/dialogflow/dialogflow.js:58:16) at Object.<anonymous> (/user_code/
   node_modules/actions-on-google/dist/assistant.js:53:32) at next (native) at /
   user_code/node_modules/actions-on-google/dist/assistant.js:22:71
 * And this same intent is working fine and retrieving information from Google Cloud
   through Google Assistant and Skype.
 * I am using V2 API as suggested by Dialogflow and I could see ‘isInSandbox’ being
   used in deprecated V1 API. Please suggest whether Chatbot is using V1 or V2 API
   or both are Ok.

Viewing 1 replies (of 1 total)

The topic ‘An internal error occured in chatbot’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/my-chatbot_766f64.svg)
 * [My Chatbot](https://wordpress.org/plugins/my-chatbot/)
 * [Support Threads](https://wordpress.org/support/plugin/my-chatbot/)
 * [Active Topics](https://wordpress.org/support/plugin/my-chatbot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-chatbot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-chatbot/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [SB Mahapatra](https://wordpress.org/support/users/sbmahapatra/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/an-internal-error-occured-3/#post-10521867)
 * Status: not resolved