API 错误码表

概述

API 请求失败时,服务端会返回一个 JSON 格式的响应体。它可以用于定位具体错误原因。如:

字段说明

API 错误码表

如遇 5xx 错误,请反馈给售后或您的商务经理。

HTTP 状态码 返回代码 含义
400 400000001 file size error
400 400000002 file or folder already exists
400 400000003 wrong uri
400 400000004 wrong bucket auth
400 400000005 bucket must have an administrator user
400 400000006 bucket not allowed delete administrator user
400 400000007 bucket log to save day error
400 400000008 bucket naming error
400 400000009 request body too big
400 400000010 read body error
400 400000011 wrong content-md5
400 400000012 directory not empty
400 400000013 wrong meta operation mode
400 400000014 bucket quota error
400 400000015 bucket not enough space
400 400000016 wrong x-west-multi-stage
400 400000017 wrong x-west-list-iter
400 400000018 wrong expire time
400 400000019 wrong index
400 400000020 wrong object type
400 400000021 file not upload all block
400 400100001 wrong img load
400 400100002 wrong img exifset
400 400100003 wrong img getinfo
400 400100004 wrong img zoom
400 400100005 wrong img crop
400 400100006 wrong img water
400 400100007 wrong img rotate
400 400100008 wrong img flip
400 400100009 wrong img sharp
400 400100010 wrong img gauss
400 400100011 wrong img border
400 400100012 wrong img canvas
400 400100013 wrong img set
400 400100014 wrong img save
400 400100015 wrong img param
401 401000001 unknown realm in authorization header
401 401000002 authorization error
401 401000004 invalid date value in header
403 403000001 authorization has expired
403 403000002 Forbidden
403 403000003 has no permission to operation
403 403000004 has no permission to read
403 403000005 bucket forbidden
403 403100001 no permission
403 403100002 no permission http read
403 403100003 no permission http read
403 403100004 no permission http read
403 403100005 no permission http read
403 403100006 no permission http read
403 403100007 no permission http read
403 403100008 no permission http read
404 404000001 file or folder not found
404 404000002 bucket not found
404 404000003 big file not upload sucess
405 405000001 Method Not Allowed
501 501000001 Not implemented
500 500000001 Internal Server Error
500 500000002 async add task err