Error Codes
If an error occurs when calling an API, no result is returned. You can locate the cause based on the error code of each API. If an error occurs during API calling, HTTP status code 4xx or 5xx is returned. The returned message body contains the specific error code and error message.
Format of an Error Response Body
If an error occurs during API calling, an error code and a message will be displayed. The following shows an error response body.
{ "resCode": "Error code", "resMsg": 'Error message', }
In the response body, resCode is an error code, and resMsg provides information about the error.
Error Code Description
There are two entrances available for you to view the preset error codes. Locate the error cause based on error codes and rectify the fault accordingly. For example, if the error code is 405230004, search for the error code and check the cause of the error code. If the cause is "Check whether the user task exists or save the corresponding service process and check whether a compilation error occurs", rectify the fault as prompted. If you are not sure about the handling method, contact technical support.
- In the navigation pane of the application designer, choose Logic > More > custom error code. You can view the error codes on the System Error Code tab page.
Figure 1 Viewing error codes in the app
- On the environment configuration page, choose Maintain > Global Elements > Error Code. You can view the error codes on the System Error Code tab page.
Figure 2 Viewing system error codes
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot