serverless/serverless · error · ServerlessError
DEPLOY_FUNCTION_CONFIGURATION_UPDATE_TIMED_OUT
DEPLOY_FUNCTION_CONFIGURATION_UPDATE_TIMED_OUT
Error message
Retry timed out. Please try to deploy your function once again.
What it means
Error "Retry timed out. Please try to deploy your function once again." thrown in serverless/serverless.
Source
Thrown at packages/serverless/lib/plugins/aws/deploy-function.js:225
const startTime = Date.now()
const callWithRetry = async () => {
try {
await this.provider.request(
'Lambda',
'updateFunctionConfiguration',
params,
)
} catch (err) {
const didOneMinutePass = Date.now() - startTime > 60 * 1000
if (
err.providerError &&
err.providerError.code === 'ResourceConflictException'
) {
if (didOneMinutePass) {
throw new ServerlessError(
'Retry timed out. Please try to deploy your function once again.',
'DEPLOY_FUNCTION_CONFIGURATION_UPDATE_TIMED_OUT',
)
}
this.logger.info(
`Retrying configuration update for function: ${this.options.function}. Reason: ${err.message}`,
)
await wait(1000)
await callWithRetry()
} else {
throw err
}
}
}
await callWithRetry()
}
async updateFunctionConfiguration() {View on GitHub (pinned to b9d7ea51c8)
Solutions
- Retry the function deployment; repeated timeouts may indicate Lambda service latency or a function stuck in Pending state.
When it happens
Trigger: Thrown at packages/serverless/lib/plugins/aws/deploy-function.js:225 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Timeouts: ETIMEDOUT, deadlines, and hung requests — what actually expires when a request times out.
AI-assisted analysis of serverless/serverless@b9d7ea51c8 (2026-08-13).
Data as JSON: /api/errors/ecde738f5b18bcea.
Report an issue: GitHub.