Reputation: 59
I've tried to connect a simple db in DynamoDB with a basic API in API Gateway that I've built. I followed this guide: https://www.youtube.com/watch?v=TuGyyTXPQ-U and after creating the DB, generating the role with the appropriate permissions and generating a simple get request in the API gateway I keep running into this error:
{ "message": "AWS ARN for integration contains invalid action" }
I get this with both post/get request in my API. Pretty new to AWS so anything would help. Thanks!
Upvotes: 4
Views: 8112
Reputation: 5003
This error related with ARN Role. Check the IAM role, and check its have dynamoDb full access permission.
NB :
Upvotes: 0
Reputation: 3745
You can get that error if the action on the integration is blank or missing. On the integration page, ensure that "Action type" is set to "Use action name" and ensure that "Action" is set to "PutItem".
Upvotes: 6