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
{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1", "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" }
Tagged:
0