Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Richard Chan
    MCS linking to APEX ORDS REST service
    Topic posted November 28, 2018 by Richard ChanSilver Medal: 2,000+ Points, tagged Bots, Mobile 
    73 Views
    Title:
    MCS linking to APEX ORDS REST service
    Summary:
    I'm having problems linking to APEX ORDS REST service to pull an employee record given an ID
    Content:

    I'm having problems linking to APEX ORDS REST service to pull an employee record given an ID

    I have also tried following https://docs.oracle.com/en/cloud/paas/mobile-suite/use-chatbot/bot-components.html#GUID-3BD9C90B-F8F6-4458-A975-2E0A6D880DBE but this doesn't appear to work ask get a 500 error, 

    The REST service is working and I can write a simple API that calls it successfully but then no longer works when trying to add in the other

     

    HTTP/1.1 500 Internal Server Error
    Cache-Control: no-cache, no-store, must-revalidate
    X-ORACLE-DMS-ECID: 090ab54b-4ac8-4096-806e-e1fd1c4dd472-0031a4f3
    Connection: keep-alive
    Pragma: no-cache
    Content-Length: 723
    X-ORACLE-DMS-RID: 0:29
    oracle-mobile-runtime-version: 18.2.5
    Date: Wed, 28 Nov 2018 23:01:51 GMT
    Content-Type: application/json

    {
      "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
      "status": 500,
      "title": "Could not start custom code container.",
      "detail": "We couldn't start a custom code container because of an uncaught exception. This typically happens because there's an error in the custom API implementation. To find the error, go to the Logs tab on the mobile backend's Diagnostics page. The Message Detail dialog box for the log message displays the module and line number where the error occurs. Fix the error and try again.",
      "o:ecid": "090ab54b-4ac8-4096-806e-e1fd1c4dd472-0031a4f3, 0:29:36",
      "o:errorCode": "MOBILE-43403",
      "o:errorPath": "/mobile/tools/1.0/ui-tooling/endpoint/mobile/custom/MyFirstComponentService/components"
    }