"The security token included in the request is invalid"
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
The security token included in the request is invalid
it means the region is not enabled in your AWS account.
Option 1: Enable the regions
Go to the AWS console, then:
- 1Click on your name at the top right
- 2Click
Account
- 3Enable the regions that you would like to use.
Option 2: Make getRegions()
return only regions by default
Use the enabledByDefaultOnly
option.