本文列举您调用火山方舟 API 可能会涉及的错误码信息,包含方舟错误码和公共错误码。
HTTP 状态码 | 错误类型 type | 错误码 code | 错误信息 message | 含义 |
---|---|---|---|---|
400 | BadRequest | MissingParameter | The request failed because it is missing one or multiple required parameters. Request ID: {id} | 请求缺少必要参数,请查阅 API 文档。 |
400 | BadRequest | InvalidParameter | One or more parameters specified in the request are not valid. Request ID: {id} | 请求包含非法参数,请查阅 API 文档。 |
400 | BadRequest | InvalidEndpoint.ClosedEndpoint | The request targeted an endpoint that is currently closed or temporarily unavailable. Request ID: {id} | 推理接入点处于已被关闭或暂时不可用, 请稍后重试,或联系推理接入点管理员。 |
400 | BadRequest | SensitiveContentDetected | The request failed because the input text may contain sensitive information. | 输入文本可能包含敏感信息,请您使用其他 prompt。 |
400 | BadRequest | SensitiveContentDetected.SevereViolation | The request failed because the input text may contain severe violation information. | 输入文本可能包含严重违规相关信息,请您使用其他 prompt |
400 | BadRequest | SensitiveContentDetected.Violence | The request failed because the input text may contain violence information. | 输入文本可能包含激进行为相关信息,请您使用其他 prompt |
400 | BadRequest | InputTextSensitiveContentDetected | The request failed because the input text may contain sensitive information.Request ID: {id} | 输入文本可能包含敏感信息,请您更换后重试。 |
400 | BadRequest | InputImageSensitiveContentDetected | The request failed because the input image may contain sensitive information.Request ID: {id} | 输入图像可能包含敏感信息,请您更换后重试。 |
400 | BadRequest | OutputVideoSensitiveContentDetected | The request failed because the output video may contain sensitive information.Request ID: {id} | 生成的视频可能包含敏感信息,请您更换输入内容后重试。 |
400 | BadRequest | InvalidParameter.{{Parameter}} | The specified parameter {{Parameter}} is invalid. | 请求参数值不合法。请检查参数值的正确性后重试。 |
400 | BadRequest | MissingParameter.{{Parameter}} | The required parameter {{Parameter}} is missing. | 缺少必要的请求参数。请确认请求参数后重试。 |
400 | BadRequest | Duplicate.Tags.Key | The specified object of tags contains duplicate keys. | 对象的标签存在重复Key。 |
401 | Unauthorized | AuthenticationError | The API key or AK/SK in the request is missing or invalid. Request ID: {id} | 请求携带的 API Key 或 AK/SK 校验未通过,请您重新检查设置的 鉴权凭证,或者查看 API 调用文档来排查问题。 |
403 | Forbidden | OperationDenied.InvalidState | The specified context is in invalid state: InProgress.Request ID: {id} | 请求所关联的Context ID处于非空闲状态,不可调用。 |
403 | Forbidden | OperationDenied.ConflictedValidationSet | Operation is denied because it is not supported to configure ValidationSet and ValidationPercentage at the same time. | 无法同时上传验证集和设置训练集取样为验证集百分比,不支持该操作。 |
403 | Forbidden | OperationDenied.PermissionDenied | Operation is denied because You are not permitted to access the specified configuration of the FoundationModel. | 您没有权限访问基础模型的配置,不支持该操作。 |
403 | Forbidden | OperationDenied.UnsupportedCustomizationType | Operation is denied because The specified CustomizationType is not supported by the CustomModel. | 模型不支持该训练方法,不支持该操作。 |
403 | Forbidden | OperationDenied.CustomizationNotSupported | Operation is denied because The specified version of the FoundationModel is not configured for the specified type of customization. | 基础模型的版本不支持该训练方法,不支持该操作。 |
403 | Forbidden | OperationDenied.ServiceNotOpen | Operation is denied because The model service is unavailable, please go to the Volcano Ark console activation management page to activate the corresponding model service, or submit a work order to contact us. | 模型服务不可用,不支持该操作。请前往火山方舟控制台激活模型服务,或提交工单联系我们。 |
403 | Forbidden | OperationDenied.ServiceOverdue | Operation is denied because Your account balance is overdue, please go to the Volc Trading Center to recharge in order to continue using the service. | 您的账单已逾期,不支持该操作。请前往火山费用中心充值。 |
403 | Forbidden | AccountOverdueError | The request failed because your account has an overdue balance. Request ID: {id} | |
403 | Forbidden | AccessDenied | The request failed because you do not have access to the requested resource. Request ID: {id} | 没有访问该资源的权限,请检查权限设置,或联系管理员添加白名单。 |
403 | Forbidden | OperationDenied.InvalidState | Operation is denied because The specified context is in invalid state: InProgress. Request id: {id} | 请求的缓存信息状态是不可用状态。请查看缓存信息是否正在被更新中。 |
403 | Forbidden | OperationDenied.UnsupportedPhase | Operation is denied because operation is not supported while the target is in its current phase. | 操作失败,操作目标在特殊状态,请检查目标是否存在或者被锁定等特殊状态中。 |
404 | NotFound | InvalidEndpointOrModel.NotFound | The model or endpoint %s does not exist or you do not have access to it. | 模型或者推理接入点 %s 不存在或者您无权访问它。 |
404 | NotFound | ModelNotOpen | Your account %s has not activated the model %s. Please activate the model service in the Ark Console. | 当前账号 %s 暂未开通 %s 模型服务,请前往火山方舟控制台开通管理页开通对应模型服务。 |
404 | NotFound | NotFound.{{Parameter}} | The specified {{ResourceType}} {{ResourceContent}} is not found. | 指定资源找不到。请确认参数后重试。 |
429 | TooManyRequests | RateLimitExceeded.EndpointRPMExceeded | The Requests Per Minute (RPM) limit of the associated endpoint for your account has been exceeded. Request ID: {id} | 请求所关联的推理接入点已超过 RPM (Requests Per Minute) 限制, 请稍后重试。 |
429 | TooManyRequests | RateLimitExceeded.EndpointTPMExceeded | The Tokens Per Minute (TPM) limit of the associated endpoint for your account has been exceeded. Request ID: {id} | 请求所关联的推理接入点已超过 TPM (Tokens Per Minute) 限制, 请稍后重试。 |
429 | TooManyRequests | ModelAccountRpmRateLimitExceeded | RPM (Requests Per Minute) limit of the model is exceeded. Request ID: {id} | 请求已超过帐户模型 RPM (Requests Per Minute) 限制: 请您稍后重试, 或者联系平台技术同学进行解决 |
429 | TooManyRequests | ModelAccountTpmRateLimitExceeded | TPM (Tokens Per Minute) limit of the model is exceeded. Request ID: {id} | 请求已超过帐户模型 TPM (Tokens Per Minute) 限制: 请您稍后重试, 或者联系平台技术同学进行解决 |
429 | TooManyRequests | QuotaExceeded | Your account [%s] has exhausted its free trial quota for the [%s] model. Request ID: {id} | 当前账号 %s 对 %s 模型的免费试用额度已消耗完毕,如需继续调用,请前往火山方舟控制台开通管理页开通对应模型服务。 |
429 | TooManyRequests | QuotaExceeded | The request has exceeded the quota. Request ID: {id} | 当前账号处于排队中状态的任务数已超过限制,请稍后重试。 |
429 | TooManyRequests | ModelLoadingError | The request cannot be processed at this time because the model is currently being loaded. Please retry later. Request ID: {id} | 模型加载中,请您稍后重试。 |
429 | TooManyRequests | ServerOverloaded | The service is currently unable to handle additional requests due to server overload. Please retry later. Request ID: {id} | 服务资源紧张,请您稍后重试。常出现在调用流量突增或刚开始调用长时间未使用的推理接入点。 |
429 | TooManyRequests | SetLimitExceeded | Your account [%s] has reached the set inference limit for the [%s] model, and the model service has been paused. To continue using this model, please visit the Model Activation page to adjust or close the "Safe Experience Mode". | 当前账号 %s 对 %s 模型已达到设置的推理限额值,如需继续调用,请前往火山方舟控制台开通管理页修改限额值或关闭安心体验模式。 |
429 | TooManyRequests | InflightBatchsizeExceeded | The Inflight Batchsize limit for free account has been exceeded.Request ID: {id} | 当前免费测试账号达到并发数限制,您可以重试或成为充值付费用户。 |
500 | InternalServerError | InternalServiceError | The service encountered an unexpected internal error. Please retry later. Request ID: {id} | 内部系统异常,请您稍后重试。 |
500 | InternalServerError | InternalError | The request has failed due to an unknown error. | 未知错误,请稍后重试。如果多次尝试仍失败,请提交工单。 |
您可访问公共错误码,获取更多错误码信息。