{"record":{"id":"5fa37015e74f2b2a","repo":"remotion-dev/remotion","slug":"the-function-name-input-functionname-does-not-a","errorCode":null,"errorMessage":"The function name ${input.functionName} does not adhere to the function name convention (https://www.remotion.dev/docs/lambda/naming-convention).\nCannot determine memory and disk size from the function name.\nYou must call getRenderProgress with `skipLambdaInvocation` set to false.","messagePattern":"The function name (.+?) does not adhere to the function name convention \\(https://www\\.remotion\\.dev/docs/lambda/naming-convention\\)\\.\nCannot determine memory and disk size from the function name\\.\nYou must call getRenderProgress with `skipLambdaInvocation` set to false\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/lambda-client/src/get-render-progress.ts","lineNumber":32,"sourceCode":"\tregion: AwsRegion;\n\tlogLevel?: LogLevel;\n\ts3OutputProvider?: CustomCredentials<AwsProvider>;\n\tforcePathStyle?: boolean;\n\tskipLambdaInvocation?: boolean;\n\trequestHandler?: RequestHandler;\n};\n\n/*\n * @description Gets the current status of a render originally triggered via renderMediaOnLambda().\n * @see [Documentation](https://remotion.dev/docs/lambda/getrenderprogress)\n */\nexport const getRenderProgress = async (\n\tinput: GetRenderProgressInput,\n): Promise<RenderProgress> => {\n\tif (input.skipLambdaInvocation) {\n\t\tconst parsed = parseFunctionName(input.functionName);\n\t\tif (!parsed) {\n\t\t\tthrow new Error(\n\t\t\t\t[\n\t\t\t\t\t`The function name ${input.functionName} does not adhere to the function name convention (https://www.remotion.dev/docs/lambda/naming-convention).`,\n\t\t\t\t\t'Cannot determine memory and disk size from the function name.',\n\t\t\t\t\t'You must call getRenderProgress with `skipLambdaInvocation` set to false.',\n\t\t\t\t].join('\\n'),\n\t\t\t);\n\t\t}\n\n\t\treturn getProgress<AwsProvider>({\n\t\t\tbucketName: input.bucketName,\n\t\t\trenderId: input.renderId,\n\t\t\tregion: input.region,\n\t\t\tforcePathStyle: input.forcePathStyle ?? false,\n\t\t\tcustomCredentials: input.s3OutputProvider ?? null,\n\t\t\texpectedBucketOwner: null,\n\t\t\tproviderSpecifics: awsImplementation,\n\t\t\tmemorySizeInMb: parsed.memorySizeInMb,\n\t\t\ttimeoutInMilliseconds: parsed.timeoutInSeconds * 1000,","sourceCodeStart":14,"sourceCodeEnd":50,"githubUrl":"https://github.com/remotion-dev/remotion/blob/78fe4bb3fdb5a2cd68724393d63cb223db333fa7/packages/lambda-client/src/get-render-progress.ts#L14-L50","documentation":"When getRenderProgress is called with skipLambdaInvocation:true, it avoids invoking the Lambda to read memory/disk config and instead parses those values out of the function name via parseFunctionName. If the function name does not follow Remotion's naming convention, parseFunctionName returns null and this error is thrown because memory/disk cannot be determined without invoking.","triggerScenarios":"Calling getRenderProgress({skipLambdaInvocation:true}) with a functionName that was not produced by deployFunction (custom name or older naming scheme).","commonSituations":"Custom/renamed function, pointing at a function deployed by an older Remotion version with a different naming format, hand-written function name.","solutions":["Omit skipLambdaInvocation (or set it to false, the default) so getRenderProgress queries the function directly for memory/disk","Use a function name produced by deployFunction that follows the documented naming convention"],"exampleFix":"// before\nawait getRenderProgress({ functionName: 'my-custom-name', skipLambdaInvocation: true, ... });\n\n// after\nawait getRenderProgress({ functionName: 'remotion-render-...-2048mb-2048mb', skipLambdaInvocation: false, ... });","handlingStrategy":"validation","validationCode":"import {parseFunctionName} from '@remotion/lambda-client';\n// before calling with skipLambdaInvocation\nif (skipLambdaInvocation && !parseFunctionName(functionName)) {\n  throw new Error('function name does not follow Remotion convention; set skipLambdaInvocation=false');\n}","typeGuard":"const isConventionName = (name: string): boolean => Boolean(parseFunctionName(name));","tryCatchPattern":null,"preventionTips":["Use function names returned by deployFunction","Only set skipLambdaInvocation:true when you control the naming","Default skipLambdaInvocation to false in shared helpers"],"tags":["lambda","function-name","validation"],"backgroundTag":null,"analyzedSha":"78fe4bb3fdb5a2cd68724393d63cb223db333fa7","analyzedAt":"2026-08-12T17:18:50.444Z","schemaVersion":2},"datasetVersion":"2026-08-12T23:17:12.415Z"}