Open jpignata opened 4 years ago
@jpignata , Can you try amplify push auth
and then invoking amplify push api
? The api depends on Cognito resources to be already provided before it ends up pushing the API resources. If you just run amplify push
that should make sure all your resources are provided in sequence determined by 'dependsOn'
Yep, amplify push
worked fine. Perhaps a better error message?
Yes I agree, if it fails to find a resource it should prompt them to check the status of resource/categories added. I will mark this as an enhancement
Describe the bug When I attempt to add an API with Cognito User Pools authentication on a new application, and I push, I receive the following error and the CLI indefinitely hangs:
Amplify CLI Version You can use
amplify -v
to check the amplify cli version on your system 4.24.4To Reproduce Steps to reproduce the behavior or terminal output if applicable
Expected behavior I would expect the API to be successfully created, along with the necessary Cognito resources.
Screenshots n/a
Desktop (please complete the following information):
node -v
to check the node version on your system 14.2.0Additional context Nada.