Skip to content

@remotion/cli: Incorrect error message for version mismatch between CLI and deployed lambda function #5303

Closed
@UmungoBungo

Description

@UmungoBungo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions