HTTP Errors

Our API uses a consistent format for HTTP error codes:

CodeTypeDescription
400invalid request errorInvalid request.
401authentication errorInvalid API key.
403permission errorThe API key doesn’t the permission to access the resource.
404resource not found errorThe resource requested was not found.
429rate limit errorYou have hit the rate limit of request.
500service errorThere’s an error on Haiper API.

API Error Codes

If the

CodeDescription
H-10002001Generation content not found
H-10002002Permission denied to access the generation content
H-10002003The generation does not exist or you have no permission to process
VB-100011You have reached the maximum concurrent tasks
VB-100012You have reached the maximum generation tasks
VB-100017The content may violate our usage policy
VB-100020This function is unavailable for API users
{
    "error": {
        "message": "Message for the error",
        "code": "H-10002001", // Error code
        "details": [ // Information for Debug
            xxxxx,
            xxxxx
        ]
    }
}