Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Nagesh Manda
    Custom API (CCS for chatbot) always returns 500
    Topic posted October 3, 2018 by Nagesh MandaBlue Ribbon: 750+ Points, tagged OMCE 
    86 Views, 3 Comments
    Title:
    Custom API (CCS for chatbot) always returns 500
    Content:

    Hi,

    I am in the process of building a sample POC for integration Chatbots with HCM Cloud. i have followed the guidelines provided and have built my custom API. However when testing the API i am always getting 500 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

    Any pointers to resolve this issue would be much appreciated. I am attaching the package for your reference.

    Thanks in advance,

    Nagesh.

    Code Snippet:

    Comment

     

    • Marcelo Jabali

      Have you looked into the Backend Diagnostics (Requests / Logs)? Usually you can see the error or exception in there.

      If there is not anything useful in the logs then open a Service Request (SR) for further investigation.

    • Nagesh Manda

      Thanks for getting back Marcelo.

      Yes i have looked into the logs but there was not much help from these.

       

    • Marcelo Jabali
      Thanks for checking. Please log a SR for further investigation.