推理服务错误码与错误消息
错误码 |
错误码变量名 |
错误消息 |
---|---|---|
0 |
SUCCESS |
Inference succeeded! |
1 |
INFER_FAILED |
Inference failed! |
2 |
INVALID_URI |
Invalid uri, format is incorrect! |
3 |
TARGET_NOT_EXISTS |
Illegal request, requested stream or model does not exist! |
4 |
INVALID_BODY |
Illegal request, the request body is invalid! |
5 |
CACHE_FULL |
Request Cache is full! |
6 |
MODEL_INPUT_FAILED |
Send input to model failed! |
7 |
MODEL_OUTPUT_FAILED |
Get output from model failed! |
8 |
RATE_EXCEEDED |
Maximum request rate exceeded! |
9 |
ILLEGAL_CONTENT |
Illegal content type! expected application/json |
10 |
LARGE_CONTENT |
The length of the content with its request head has exceeded! |
11 |
INTERNAL_ERROR |
The server has encountered an internal error! |
12 |
UNSUPPORTED_METHOD |
Options request or head request is not allowed! |
父主题: 响应错误码与错误消息