{"record":{"id":"ecde738f5b18bcea","repo":"serverless/serverless","slug":"deploy-function-configuration-update-timed-out","errorCode":"DEPLOY_FUNCTION_CONFIGURATION_UPDATE_TIMED_OUT","errorMessage":"Retry timed out. Please try to deploy your function once again.","messagePattern":"Retry timed out\\. Please try to deploy your function once again\\.","errorType":"exception","errorClass":"ServerlessError","httpStatus":null,"severity":"error","filePath":"packages/serverless/lib/plugins/aws/deploy-function.js","lineNumber":225,"sourceCode":"\n    const startTime = Date.now()\n\n    const callWithRetry = async () => {\n      try {\n        await this.provider.request(\n          'Lambda',\n          'updateFunctionConfiguration',\n          params,\n        )\n      } catch (err) {\n        const didOneMinutePass = Date.now() - startTime > 60 * 1000\n\n        if (\n          err.providerError &&\n          err.providerError.code === 'ResourceConflictException'\n        ) {\n          if (didOneMinutePass) {\n            throw new ServerlessError(\n              'Retry timed out. Please try to deploy your function once again.',\n              'DEPLOY_FUNCTION_CONFIGURATION_UPDATE_TIMED_OUT',\n            )\n          }\n          this.logger.info(\n            `Retrying configuration update for function: ${this.options.function}. Reason: ${err.message}`,\n          )\n          await wait(1000)\n          await callWithRetry()\n        } else {\n          throw err\n        }\n      }\n    }\n    await callWithRetry()\n  }\n\n  async updateFunctionConfiguration() {","sourceCodeStart":207,"sourceCodeEnd":243,"githubUrl":"https://github.com/serverless/serverless/blob/b9d7ea51c8cce57cff1207964b9b71123673081f/packages/serverless/lib/plugins/aws/deploy-function.js#L207-L243","documentation":"Error \"Retry timed out. Please try to deploy your function once again.\" thrown in serverless/serverless.","triggerScenarios":"Thrown at packages/serverless/lib/plugins/aws/deploy-function.js:225 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the function deployment; repeated timeouts may indicate Lambda service latency or a function stuck in Pending state."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b9d7ea51c8cce57cff1207964b9b71123673081f","analyzedAt":"2026-08-13T04:14:40.386Z","schemaVersion":2},"datasetVersion":"2026-08-13T09:17:06.757Z"}