Error Codes
If an error occurs in API calling, no result is returned. Identify the cause of error based on the error codes and error information of each API. If an error occurs in API calling, HTTPS status code 4xx or 5xx is returned. The response body contains the specific error code and information. If you are unable to identify the cause of an error, contact O&M personnel and provide the error code so that O&M personnel can help you solve the problem as soon as possible.
Format of an Error Response Body
If an error occurs during API calling, the system returns an error code and message to you. Table 1 shows the format of an error response body.
Parameter |
Type |
Description |
---|---|---|
error_msg |
String |
Error code |
error_code |
String |
Error description |
Example:
{ "error_code": "BCS.4006009", "error_msg": "one of parameters is nil" }
Error Code Description
Status Code |
Error Code |
Error Message |
Solution |
---|---|---|---|
200 |
BCS.2001002 |
OneStepPurchase4Need successfully. |
Request successful. |
400 |
BCS.4006009 |
one of parameters is nil |
Specify a value for the parameters. |
400 |
BCS.4001051 |
Input org org1 is not exist |
Check the parameters. |
400 |
BCS.4030403 |
forbidden to project [project_id] |
Check the project ID. |
400 |
BCS.4006003 |
json: cannot unmarshal object into Go value of type []apis.PeersToChannelAdd |
Check whether the parameter meets requirements. |
400 |
BCS.4006005 |
ActOnDetailNotification fail |
Contact technical support. |
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