Score:0

Enable CORS-Policy AWS API Gateway "invalid response status code specified"

us flag

I'm trying to enable CORS Policy on AWS Apigateway. I have done this before and it worked perfectly. But now, while i copied all the configurations correctly i still cannot enable CORS-Policy. AWS is complaining, because there is an invalid response status code specified for the get method. However i configured it so it doesn't make sense. I also deployed my changes multiple times. I had this problems already in the past.
I'm a little bit lost here, since i don't know if my configuration is wrong or it's just aws being aws. First picture is the error i get. Second picture shows overview of the GET Method and third picture is the detailed configuration of the GET method response.

enter image description here

enter image description here

enter image description here

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.