Skip to main content

请求中包含的安全令牌无效

Remotion 支持的一些区域在 AWS 账户中默认未启用。

🌐 Some regions that are supported by Remotion are not enabled by default in an AWS account.

如果你收到一条消息:

🌐 If you get a message:

The security token included in the request is invalid

这意味着该区域在你的 AWS 账户中未启用。

🌐 it means the region is not enabled in your AWS account.

选项 1:启用区域

🌐 Option 1: Enable the regions

转到 AWS 控制台,然后:

🌐 Go to the AWS console, then:

  • 1
    点击右上角的你的名字
  • 2
    点击 Account
  • 3
    启用你想要使用的区域。

选项 2:默认情况下使 getRegions() 仅返回区域

🌐 Option 2: Make getRegions() return only regions by default

使用 enabledByDefaultOnly 选项。

🌐 Use the enabledByDefaultOnly option.

另请参阅

🌐 See also