Integrating Monaca with API.AI


  • Monaca

    @sadakathullah
    Hi,
    I’ve modified the app and now the error is fixed. Please import the project again. I also made some changes to the plugin itself since there is a broken reference file in the plugin which will cause the build to fail. Therefore, you need to re-import the project and test it on custom Debugger or build app. Let me know if you still have the same issue. Good luck.



  • Hello, I have the same problem after re import ReferrenceError APIAI Plugin is not defined. Thank you for your help


  • Monaca

    @thanh Hi,
    When did you import the project? I just imported the project and test it without any issue. Would you please try to import the project again?



  • @khemry I joined the project today and I just do it again. I do not know where I was wrong



  • @khemry
    Could you use cordova 6.5?


  • Monaca

    @steverock Yes, you can upgrade the project to 6.5. That’d be still working. Let me know if you face any issue. :)


  • Monaca

    @thanh How did you test the project?
    You need to run this project on Custom Debugger or build app. Standard (store) debugger is not working because the apiai-cordova-client plugin is not included.



  • @khemry this error ‘‘ReferrenceError APIAI Plugin is not defined’’ upon the launch of the app within the Debugger is still prevailing for me too. Do you have any idea what it is referring to.


  • Monaca

    @steverock Did you test it on standard Monaca Debugger? Please use custom Debugger to test this project.



  • Hi @khemry thanks that worked for me.



  • while i import and run the project… it says apiaiplugin not defined !!!


  • Monaca

    @mailpravink Did you test your app on standard (available at the store) Monaca Debugger? You need to test your app with custom Monaca Debugger because the api.ai plugin is not included in the standard Monaca Debugger. Please refer to: