When an API request to Function Compute fails, the response includes an HTTP status code and a JSON body with the error details. Use the error codes in the following table to identify the cause and apply the appropriate fix.
Error response format
{
"errorCode" : "<ErrorCode>",
"errorMessage" : "<ErrorMessage>"
}Error codes
| HTTP status code | Error code | Error message | Description | Solution |
|---|---|---|---|---|
| 400 | InvalidArgument | %s | A request parameter is invalid. | Check that all request parameters are valid. |
| 400 | MissingRequiredHeader | required HTTP header %s was not specified | A required request header is missing. | Add the request header indicated in the errorMessage field. |
| 400 | PathNotSupported | '%s' against '%s' is not supported | The requested API path is invalid. | Check that the API path is correct. |
| 400 | EntityTooLarge | payload size exceeds maximum allowed size (%s bytes) | The payload exceeds the maximum allowed size. | Reduce the payload to within the limit shown in the errorMessage field. |
| 403 | AccessDenied | %s | The caller does not have permission to perform the operation. | Grant the required Function Compute permissions to the caller. |
| 403 | SignatureNotMatch | The request signature we calculated does not match the signature you provided. Check your access key and signing method | The request signature does not match the expected value. | Recalculate the signature using the correct signing rules. |
| 403 | InvalidAccessKeyID | invalid access key ID '%s' | The AccessKey ID is invalid. | Specify a valid AccessKey ID. |
| 404 | ServiceNotFound | service '%s' does not exist | The specified service does not exist. | Create the service first. For more information, see Manage services. |
| 404 | AliasNotFound | alias '%s' of service '%s' does not exist | The specified alias does not exist. | Create the alias first. For more information, see Manage aliases. |
| 404 | DomainNameNotFound | domain name '%s' does not exist | The specified domain name does not exist. | Bind a custom domain name. For more information, see Configure a custom domain name. |
| 404 | VersionNotFound | version '%d' of service '%s' does not exist | The specified version does not exist. | Create a version. For more information, see Manage versions. |
| 409 | ConcurrentUpdateError | None | A service, function, or trigger is being updated by a concurrent request. | Retry the update sequentially to avoid data inconsistency. |
| 409 | EventBridgeTriggerConflict | There are %d eventbridge triggers fitting the fc naming pattern. The conflicting arn includes: %+v | Duplicate data exists in the EventBridge trigger. | Contact us. |
| 429 | ResourceExhausted | %s | The concurrency limit has been exceeded. | Contact Function Compute engineers to raise your concurrency limit. |
| 500 | InternalServerError | an internal error has occurred. Please retry | An internal system error occurred. | Contact us. |
| 503 | ResourceThrottled | %s | The maximum number of allowed instances has been reached. | Contact Function Compute engineers to evaluate your instance quota. |
If an error code is not listed in this topic, search for it in the Error Center.
For the full list of error codes, see the API Error Center.