When an error occurs in an API request, Function Compute returns an error message. This topic lists the error codes in Function Compute. You can find solutions based on the error codes listed in the following table.

Error information

The error information contains an HTTP status code and error details in the response body. The error details in the response body are in the following format:

{
  "errorCode" : <ErrorCode>,
  "errorMessage" : <ErrorMessage>
}        

Error codes

HTTP status code Error code Error message Description Solution
400 InvalidArgument %s The error message returned because the specified parameter is invalid. Check whether all request parameters are valid.
400 MissingRequiredHeader required HTTP header %s was not specified The error message returned because the required request header is missing. Add the request header based on the error message specified by the errorMessage parameter.
400 PathNotSupported '%s' against '%s' is not supported The error message returned because the specified requested API path is invalid. Check whether the requested API path is valid.
400 EntityTooLarge payload size exceeds maximum allowed size (%s bytes) The error message returned because the specified input parameter value exceeds the valid value range. Enter a valid value based on the error message.
403 AccessDenied %s The error message returned because the user does not have the permissions to perform the operation. Grant the permissions on Function Compute to the user.
403 SignatureNotMatch The request signature we calculated does not match the signature you provided. Check your access key and signing method The error message returned because the specified digital signature of the request does not match with the one calculated in Function Compute. Calculate the signature based on the signature rules.
403 InvalidAccessKeyID invalid access key ID '%s' The error message returned because the specified AccessKey ID is invalid. Specify a valid AccessKey ID.
404 ServiceNotFound service '%s' does not exist The error message returned because the specified service does not exist. Create a service. For more information, see Manage microservices.
404 AliasNotFound alias '%s' of service '%s' does not exist The error message returned because the specified alias does not exist. Create an alias. For more information, see Manage aliases.
404 DomainNameNotFound domain name '%s' does not exist The error message returned because the domain name does not exist. Bind a domain name. For more information, see Configure a custom domain name.
404 VersionNotFound version '%d' of service '%s' does not exist The error message returned because the specified version does not exist. Create a version. For more information, see Manage versions.
409 ConcurrentUpdateError None The error message returned because resources such as services, functions, or triggers are being concurrently updated. Sequentially update resources to prevent data inconsistency.
409 EventBridgeTriggerConflict There are %d eventbridge triggers fitting the fc naming pattern. The conflicting arn includes: %+v The error message returned because duplicated data exists in the EventBridge trigger. Contact Us.
429 ResourceExhausted %s The error message returned because the concurrency limit has been exceeded. Contact Function Compute engineers to raise your concurrency limit.
500 InternalServerError an internal error has occurred. Please retry The error message returned because a system error occurred. Contact Us.
503 ResourceThrottled %s The error message returned because the maximum number of instances allowed has been reached. Contact Function Compute engineers to evaluate your instance quota.

For a list of error codes, visit the API Error Center.