ERROR: The API call was not successful. Status code returned 401- Amazon Web Service

I just want to create an environment, but not using mac terminal.

eb create django-env
Create an archive of the application version "Application-170608_112505". Downloading django-tutorial / app-170608_112505.zip to S3. This may take some time. Loading is complete. ERROR: The API call was not successful. Status code returned 401

Everyone knows what this problem is?

+3


source to share


1 answer


This error can occur when trying to create an Elastic Beanstalk environment within the first few hours after creating an AWS account. Using the --verbose flag will show an OptInRequired error when Elastic Beanstalk tries to create an EC2 instance.



Try going to your EC2 dashboard in the AWS console. If you don't see the regular dashboard, your account is still being verified.

0


source







All Articles