AWS SAM On deployment apigateway says invalid permissions, works on clicking the arn and redploying
I am using AWS SAM to deploy a API gateway with Lambda proxy integration. when deployed the api gateway logs ‘Invalid permission on lambda’ but when I just click on the arn in integation request as shown below > save > redeploy then it works without any issue. wiered. any suggestions.