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.
- IAM role created to add, update, query, and delete, from table (
trusted entities: AWS service: lambda
) and theAWSLambdaBasicExecutionRole
- Lambda function using an existing (above) role
- authorizer created using my User Pool for authorization
- resource and method (POST) created using cognito user pool authorizer from above
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.