错误码

通用json返回格式

其中code为0表示调用成功,data为具体的接口返回值,格式仍然为json格式,具体见接口定义。其他的code均表示失败,msg为具体错误原因。业务功能错误原因请参照接口返回的具体错误msg

{
  "code": 0,
  "success": true,
  "msg":null,
  "data":"..."
 }

请求错误401-450

错误码 错误msg
401 uri parse error
402 appkey not find in request
403 api httpMethod not supported
404 sign not find in request
405 params in sign not find in request
406 sign check fail
407 app api in adapt error
408 request timeout

配置错误451-499

错误码 错误msg
451 sourceName config not existed
452 appkey config not existed
453 app api config not existed
454 app api in out adapter config not existed
455 app api sign checker config not existed
456 app api biz component config not existed
457 api service not found
458 api service param type error
459 api service type error
460 api service invoke error
461 api service exception
462 api service exception

系统内部错误5XX

错误码 错误msg
500 internal system error
501 unknown error