I am following this tutorial to set up API to dynamoDB through AWS API Gateway.
According to the instruction, was to body map to this code
{
"TableName": "favorite_movies",
"Key": {
"name": {
"S": "$input.params('name')"
}
}
}
However, I received this error ( Invalid patch path /requestTemplates/) May anyone help me, please. Thanks in Advance.

Content type needs to filled as "application/json" which is corresponding to the model specified.
Ideally, specifying model name should be enough as that has the content type as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With