watsonx Assistant

 View Only

Issue with Migrating IBM Watson Assistant Actions from IBM Cloud Functions to IBM Code Engine

  • 1.  Issue with Migrating IBM Watson Assistant Actions from IBM Cloud Functions to IBM Code Engine

    Posted 10 days ago

    Our team previously used IBM Watson Assistant with IBM Cloud Functions to handle actions. After a period of inactivity, we resumed our chatbot development only to find that IBM Cloud Functions has been deprecated. Consequently, we have started migrating to IBM Code Engine.

    Following your provided tutorials, we successfully created and tested our functions locally. When executing via the command line, our function is called and operates correctly. However, we encountered an issue when integrating IBM Code Engine with IBM Watson Assistant. Despite following the tutorial on connecting IBM Code Engine with IBM Watson Assistant, our action functions are not being called.

    In our dialog, after typing an action it results in the following error message:

    {"status":422,"body":{"error":"Cannot start action. Check logs for details.","logs":["compiler: /bin/compile","it is source code","compiling: ./action/1/src/exec main: main","Command exited abruptly during initialization."],"ok":false} }
    We have thoroughly checked our setup and followed the documentation step-by-step. Despite this, we are unable to resolve the issue.

    Could you please assist us in identifying and rectifying the problem? Any guidance or troubleshooting steps would be greatly appreciated.

    Thank you for your support and assistance.

    Best regards



    ------------------------------
    mohamad alameddine
    ------------------------------