amazon-web-servicesaws-lambdaaws-api-gatewayawscognitotoken

What be causing a "Network Failure" error when I try to add AWS Cognito authorization to my API Gateway?


Result of trying to save after adding Authorizer I keep getting "Network Failure" whenever I try to make certain changes with API Gateway. I can create new APIs, add methods, connect Lambdas to them, and deploy but I cannot enable or make changes to CORS or add Cognito Authorization to any methods. Has anyone else encountered this?

I created a new API, lambdas, and a new user pool on my region (us-west-1) and also on (us-west-2) and tried to add Authorization to the API methods but kept getting Network Failure. Connection between lambdas and API methods works and so does the Cognito UI login but I just can't add authorization. I was able to on Tuesday, 4 days ago but since Wednesday I've just been getting Network Failure.


Solution

  • I figured out it was just some super annoying bug that was preventing me from making any edits to Gateway API components. I.e. can't add headers to integration response so I had to delete it and add it in the wizard, can't add headers or auth to resources, etc...

    Thank you! @Muhammad Farhan