Polyv Help Center

Help Center

Global Error Description

Updated: 2021-05-17 17:50:34

Example Response

Correct API request response:

{
    "code": 200,
    "status": "success",
    "message": "",
    "data": ""
}

API request field validation error response:

{
    "code": 400,
    "status": "error",
    "message": "invalid signature.",
    "data": ""
}

API request business logic processing error response:

{
    "code": 500,
    "status": "fail",
    "message": "access forbidden",
    "data": ""
}

Field Descriptions:

Name Type Description
code Integer Response status code, see below for specific mapping
status String Response status text
message String Response description. When code is 400 or 500, it provides auxiliary error reason details. Refer to the Error Message Reference Table

Error Code Description

code status message
200 success Indicates successful business processing, this field is an empty string
40X (X is any digit) error Indicates field validation error. The error message describes the specific field error, e.g., invalid signature.
500 fail Indicates server business logic processing error. The error message describes the specific business logic error, e.g., access forbidden

Message Detailed Information Reference Table

Message Description
undefined error Unknown error
need to login Not logged in
access forbidden Access forbidden
redirect Needs to redirect to a URL (outputs redirect URL to data.url)
email can not be empty Email cannot be empty
password can not be empty Password cannot be empty
该账号未注册 Account not registered
main account password error Main account password error
sub account password error Sub account password error
user status error User status error
sub user expired Sub user login session expired
sub user not allow Sub account insufficient permissions
短信发送太频繁,请稍后再试 SMS sent too frequently, please try again later
验证码错误 Verification code error
密码错误 Password error
账号已锁定,请联系客服解锁或等待24小时 Account locked, please contact customer service to unlock or wait 24 hours
未匹配到用户信息,请检查手机号后重试 No matching user found, please check the phone number and try again
invalid timestamp Invalid request timestamp
application not exist Application does not exist
user children not exist Sub account does not exist
user children expired Sub account expired
invalid signature Signature error
permission limited Insufficient permissions
category limited No permission for category
appId can not be empty appId cannot be empty
vid不能为空 vid cannot be empty
title和filename不能同时为空 title and filename cannot both be empty
续传失败。 Resume upload failed.
上传视频初始化失败。 Upload video initialization failed.
视频大小不能为0. Video size cannot be 0.
获取token失败 Failed to obtain token
账户服务状态异常,请联系客服 Account service status abnormal, please contact customer service
非法的vid Invalid vid
子账号没有指定分类的上传权限 Sub account does not have upload permission for the specified category
param validate error Parameter validation error
param should not be empty: %s Parameter value is empty
param is not digit: %s Parameter is not a non-negative integer
param is not number: %s Parameter value is not a number
param length is incorrect: %s Parameter value length is incorrect
number range error Number range error
date range error Date range error
param is not boolean (Y / N) Parameter is not a boolean value (Y/N)
slide verification error Slide verification error
invalid vid Invalid video vid
invalid album id Invalid album list ID
album over limit Album count exceeds limit
invalid album group id Invalid album list group ID
view page is close Video preview page is closed
上传中不允许修改 Modification not allowed during upload
没有填写栏目名称 Category name not filled in
category not exist Category does not exist
子账号没有权限在该目录下创建分类。 Sub account does not have permission to create a category under this directory.
已存在同名的视频分类 A video category with the same name already exists
delete category failed Failed to delete category
category could not be modified Category could not be modified
不允许修改伪直播目录分类信息 Modifying pseudo-live directory category information is not allowed
video not exist Video does not exist
invalid filter Invalid filter
只能修改“已发布”状态的视频为禁播状态 Only videos with "Published" status can be changed to "Banned" status
只能修改“已禁播”状态的视频为已发布状态 Only videos with "Banned" status can be changed to "Published" status
一次操作的视频数量不能超过500个 The number of videos operated at one time cannot exceed 500
非法登录方式 Illegal login method
微信网页未授权 WeChat webpage not authorized
联系客服,在线咨询