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

Error code format

An error code 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 Cause Solution
400 InvalidArgument %s The error message returned because the specified parameter is invalid. Check whether all input 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 account does not have permissions to perform the operation. Grant access permissions on Function Compute to the account.
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 that 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. Enter 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 Service operations.
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 Alias operations.
404 DomainNameNotFound domain name '%s' does not exist The error message returned because the specified domain name does not exist. Bind a domain name. For more information, see Bind 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 Version operations.
409 ConcurrentUpdateError N/A The error message returned because resources such as services, functions, or triggers are being concurrently updated. Update resources sequentially to avoid data inconsistency.
429 ResourceExhausted %s The error message returned because the concurrency limit has been exceeded. Contact the Function Compute team to raise your concurrency limit. For contact details, see Contact us.
500 InternalServerError an internal error has occurred. Please retry The error message returned because an internal server error has occurred. For more information, see Contact us.
503 ResourceThrottled %s The error message returned because the maximum number of instances has been reached. Contact the Function Compute team to evaluate your instance quota. For more information, see Contact us.

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