Digital Assistant and Mobile

Get Involved. Join the Conversation.


    Lukas Raymaekers
    Custom API (CCS for chatbot) randomly returns 200,...
    Topic posted August 9, 2018 by Lukas RaymaekersRed Ribbon: 250+ Points, tagged Bots, OMCE 
    126 Views, 4 Comments
    Custom API (CCS for chatbot) randomly returns 200, 404 or 500
    Custom API, a custom component service for chatbots, randomly returns 200, 404, 500



    I'm currently working on some chatbot projects with two other people. In total we have five CCS APIs, three of which work fine. The other two return 200 most of the time, however, from time to time, they return 500 or 404. The two APIs seem to be both working and not working.

    I also tried to adapt a working implementation, but that one also returns 200 most of the time and 500s and 404s at random times.

    The error we get, when the CCS returns a 500, can be found in the code snippet. I also included a zipfile of the custom components implementation.

    If you need more information, please feel free to ask.


    Thanks in advance,




    Code Snippet:
    Document: (2.3MB)



    • Frank Nimphius

      The ZP file contains no components and the registry too is empty. So hard to say what the problem is. 



    • Lukas Raymaekers

      Normally it should work even when it's empty. I always start with an empty one to make sure the base parts of the CSS are working. In this case, even when empty, it returns 200 50% of the time and 500 and 404 the other 50%.



    • Lukas Raymaekers

      This is the CCS from one of my colleagues. Everything is working again, since we had to change instances due to a billing issue, yet the CCS weren't changed. So it seems like it was a weird error caused by MCS.


    • Nagesh Manda

      Hi Frank,

       i have imported the sample file provided and when trying to test the sharedAPI the below error message is seen.

      Kindly let me know if there is anyway to debug the issue or error.

      HTTP/1.1 500 Internal Server Error
      Cache-Control: no-cache, no-store, must-revalidate
      X-ORACLE-DMS-ECID: de973e25-2b59-42b2-808d-f598e0ae09fb-00040db4
      Connection: keep-alive
      Pragma: no-cache
      Content-Length: 495
      X-ORACLE-DMS-RID: 0:17
      oracle-mobile-runtime-version: 18.2.5
      Date: Tue, 02 Oct 2018 09:58:22 GMT
      Content-Type: application/json

        "type": "",
        "status": 500,
        "title": "An internal error occurred.",
        "detail": "Something unexpected happened in MCS. Perhaps it's a bug or a problem with the running system. Resend the request. If it continues to fail, then contact Oracle Support Services.",
        "o:ecid": "de973e25-2b59-42b2-808d-f598e0ae09fb-00040db4, 0:17:27",
        "o:errorCode": "MOBILE-43400",
        "o:errorPath": "/mobile/tools/1.0/ui-tooling/endpoint/mobile/custom/openWeather/city"