I've created a RESTful API on AWS and I'm trying to test the POST method. I give a sample request to the the request body in the api gatemway console's test interface it get this response:
{
"Error": "Authorization not configured",
"Reference": "e6b7ec86-97fe-11e7-b480-ebefe7f11420"
}
I originally had this set to a Cognito User Pool with read/write access to a corresponding table, but I got this error message. I tried removing authorization in the method just to test this, but again I received this error.
As far as I can tell, I have authorization set up across the board.
trusted entities: AWS service: lambda
) and the AWSLambdaBasicExecutionRole
I feel like I must be missing something obvious, but everything seems to be in order as I step through it here. Any help is much appreciated and please let me know if I can provide any additional information.
I found this question linked from the AWS forums The OP there and I both ran into this same problem while going through the Wild Rydes tutorial.
I was able to solve this problem by:
Once the change is made, the method request should no longer say None for auth
If anyone else is having this problem, I simply had to clear my cached data on my browser for it to work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With