本文列举调用火山方舟 API 涉及的公共错误码信息。各 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} | 推理接入点处于已被关闭或暂时不可用, 请稍后重试,或联系推理接入点管理员。 |
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 | 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} | 没有访问该资源的权限,请检查权限设置,或联系管理员添加白名单。 |
404 | NotFound | InvalidEndpoint.NotFound | The request targeted an endpoint that does not exist or is invalid. Request ID: {id} | 推理接入点不存在或者非法,请检查输入的推理接入点信息。 |
429 | TooManyRequests | RateLimitExceeded.FoundationModelRPMExceeded | The Requests Per Minute (RPM) limit of the associated foundation model for your account has been exceeded. Request ID: {id} | 请求所关联的基础模型已超过账户 RPM (Requests Per Minute) 限制, 请稍后重试。 |
429 | TooManyRequests | RateLimitExceeded.FoundationModelTPMExceeded | The Tokens Per Minute (RPM) limit of the associated foundation model for your account has been exceeded. Request ID: {id} | 请求所关联的基础模型已超过账户 TPM (Tokens Per Minute) 限制, 请稍后重试。 |
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 (RPM) limit of the associated endpoint for your account has been 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 | 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} | 服务资源紧张,请您稍后重试。常出现在调用流量突增或刚开始调用长时间未使用的推理接入点。 |
500 | InternalServerError | InternalServiceError | The service encountered an unexpected internal error. Please retry later. Request ID: {id} | 内部系统异常,请您稍后重试。 |
您可访问公共错误码,获取更多错误码信息。