Skip to main content

该存储桶不允许使用ACL

如果你在 Remotion Lambda 上渲染视频时遇到以下错误:

🌐 If you encounter the following error while rendering a video on Remotion Lambda:

AccessControlListNotSupported: The bucket does not allow ACLs

你正在尝试将内容渲染到一个已禁用 ACL 功能并以不同方式处理其权限的存储桶中,例如通过存储桶策略。

🌐 You are trying to render into a bucket that has the ACL feature disabled and handles its permissions in a different way, for example through bucket policies.

解决方案

🌐 Solution

no-acl 传递给 renderMediaOnLambda()renderStillOnLambda()npx remotion lambda renderprivacy 选项。

🌐 Pass no-acl to the privacy option of renderMediaOnLambda(), renderStillOnLambda() or npx remotion lambda render.