Closed
Description
When rendering via lambda on the CLI, an incorrect message is shown when there is a version mismatch. In this example, there is a v4.0.286 function deployed, but the CLI is on v4.0.305.
pnpm exec remotion lambda render rive-animation webGlComposition --function-name=remotion-render-4-0-286-mem7167mb-disk10240mb-120sec --height=1280 --width=720
Function "remotion-render-4-0-286-mem7167mb-disk10240mb-120sec" does not match naming convention remotion-render-4-0-305-mem[memory]mb-disk[disk]mb-[timeout]sec.
Remotion relies on the naming to determine function information. This is an unsupported workflow.
The error message should instead be pointing out that the CLI is at a different version to the requested lambda function.