AWS error:
You must use the subscription API to subscribe your account to the service before using this operation.
Solution to fix:
Step 1: Install aws-cli
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install
Step 2: configure
[root@tutorialspots ~]# aws configure AWS Access Key ID [None]: AKIAVY****U5D4R5QZ74 AWS Secret Access Key [None]: 2GDf/*********************NVmne Default region name [None]: us-east-1 Default output format [None]:
Step 3: Get Endpoint
[root@tutorialspots ~]# aws mediaconvert describe-endpoints --region us-east-1 { "Endpoints": [ { "Url": "https://q25wbt2lc.mediaconvert.us-east-1.amazonaws.com" } ] }
Now you must use API with this endpoint
1 Comment
AWS REST API mediaconvert: example convert mp4 to HLS | Free Online Tutorials
(June 20, 2022 - 8:16 am)[…] AWS error: You must use the subscription API to subscribe your account to the service before using t… […]