amazon web services - aws api-gateway forward request to lambda function stuck -
i'm kinda new aws. have been trying create simple registration form client. created dynamodb , lambda function writes dynamodb here code. matter request doesn't reach lambda logs, says
execution log request test-request sun aug 20 14:33:44 utc 2017 : starting execution request: test-invoke-request sun aug 20 14:33:44 utc 2017 : http method: post, resource path: /mosesdb sun aug 20 14:33:44 utc 2017 : method request path: {} sun aug 20 14:33:44 utc 2017 : method request query string: {} sun aug 20 14:33:44 utc 2017 : method request headers: {} sun aug 20 14:33:44 utc 2017 : method request body before transformations: { "objectid": "123456789", "objectfullname": "asdkjh", "objectphone": "1234567", "objectemail": "@." } sun aug 20 14:33:44 utc 2017 : execution failed due configuration error: api gateway not have permission assume provided role sun aug 20 14:33:44 utc 2017 : method completed status: 500
i think important part here
sun aug 20 14:33:44 utc 2017 : execution failed due configuration error: api gateway not have permission assume provided role
i don't understand if configured api authorization none api key not required why , can configure role? looking everywhere , information on relates when authenticate using iam authentication, have use role on client?
please make sure have added correct arn of lambda function in api gateway. set proper role run lambda function. lambda basic execution role enough basic privileges. can check below video,
Comments
Post a Comment