shep icon indicating copy to clipboard operation
shep copied to clipboard

Missing lambda function policies with API gateway integration

Open winglian opened this issue 8 years ago • 1 comments

After deploying and trying to test the endpoint directly with cURL, I'm getting 500 Internal Server Errors. When testing it from the console I see the specific error seems to be "Execution failed due to configuration error: Invalid permissions on Lambda function". It seems that the Lambda function doesn't have the policy added to allow API gateway to invoke it? Am I missing a step or shouldn't that already be configured?

winglian avatar Oct 27 '17 14:10 winglian

This definitely sounds like a bug. The permissions should be setup properly by shep. Is this on a freshly deployed API? I can try and debug this today.

southpolesteve avatar Oct 30 '17 12:10 southpolesteve