Closed marciorcruz closed 6 months ago
Problem with AppSync API - LAMBDA Authorizer with Merge API
The AppSync Merge API is unable to execute the DataSources of Your Merged APIs when the authentication type is AWS_LAMBDA
If we change it to API_KEY it works
Error Message: df90a7b2-f294-47ff-813d-99869dd687f5 Response Headers: {x-amzn-ErrorType=BadRequestException, X-Amzn-Trace-Id=Root=1-66481db3-1975d48010b455020bb6bc39}
This error only happens with the Merge API in GRAPHQL apis and works normally
Can anyone help?
We added permission to the authorizer lambda
{ "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": "appsync:", "Resource": "" } ] }
Closed
Problem with AppSync API - LAMBDA Authorizer with Merge API
The AppSync Merge API is unable to execute the DataSources of Your Merged APIs when the authentication type is AWS_LAMBDA
If we change it to API_KEY it works
Error Message: df90a7b2-f294-47ff-813d-99869dd687f5 Response Headers: {x-amzn-ErrorType=BadRequestException, X-Amzn-Trace-Id=Root=1-66481db3-1975d48010b455020bb6bc39}
This error only happens with the Merge API in GRAPHQL apis and works normally
Can anyone help?