I’m a beginner at development otherwise this would probably be easily solved for me. I’m working to build some integrations with services in my AWS account. I was able to create GET request and provide the Bearer Token for Authentication (Finally). Now i’m looking to do some PUT’s. To start simply, i’d just like to start a zone.
When making the PUT request, I get the following error.
{
"code": "301",
"error": "field name id required. Error message is invalid path"
}
And here are the logs I receive…
Execution log for request d4803b6a-5696-4782-8a29-8255ad5dadbf
Thu Mar 12 17:38:39 UTC 2020 : Starting execution for request: d4803b6a-5696-4782-8a29-8255ad5dadbf
Thu Mar 12 17:38:39 UTC 2020 : HTTP Method: PUT, Resource Path: /
Thu Mar 12 17:38:39 UTC 2020 : Method request path: {}
Thu Mar 12 17:38:39 UTC 2020 : Method request query string: {}
Thu Mar 12 17:38:39 UTC 2020 : Method request headers: {Authorization=**************************************3bc849}
Thu Mar 12 17:38:39 UTC 2020 : Method request body before transformations:
Thu Mar 12 17:38:39 UTC 2020 : Endpoint request URI: https://api.rach.io/1/public/zone/start
Thu Mar 12 17:38:39 UTC 2020 : Endpoint request headers: {Authorization=**************************************3bc849, x-amzn-apigateway-api-id=fxdph0ang2, Accept=application/json, User-Agent=AmazonAPIGateway_fxdph0ang2, X-Amzn-Trace-Id=Root=1-5e6a739f-97890e14a730228bf4f9a3d7, Content-Type=application/json}
Thu Mar 12 17:38:39 UTC 2020 : Endpoint request body after transformations: {
"Authorization:": " Bearer **************************************3bc849",
}
Thu Mar 12 17:38:39 UTC 2020 : Sending request to https://api.rach.io/1/public/zone/start
Thu Mar 12 17:38:39 UTC 2020 : Received response. Status: 400, Integration latency: 96 ms
Thu Mar 12 17:38:39 UTC 2020 : Endpoint response headers: {Date=Thu, 12 Mar 2020 17:38:39 GMT, Content-Type=application/json;charset=utf-8, Content-Length=78, Connection=keep-alive, Server=nginx/1.12.1, Cache-Control=no-cache, no-store, max-age=0, must-revalidate, Pragma=no-cache, Expires=0, X-XSS-Protection=1; mode=block, X-Frame-Options=DENY, X-Content-Type-Options=nosniff, X-RateLimit-Limit=1700, X-RateLimit-Remaining=1676, X-RateLimit-Reset=2020-03-13T00:00:00Z}
Thu Mar 12 17:38:39 UTC 2020 : Endpoint response body before transformations: {"code":"301","error":"field name id required. Error message is invalid path"}
Thu Mar 12 17:38:39 UTC 2020 : Method response body after transformations: {"code":"301","error":"field name id required. Error message is invalid path"}
Thu Mar 12 17:38:39 UTC 2020 : Method response headers: {X-Amzn-Trace-Id=Root=1-5e6a739f-97890e14a730228bf4f9a3d7, Content-Type=application/json}
Thu Mar 12 17:38:39 UTC 2020 : Successfully completed execution
Thu Mar 12 17:38:39 UTC 2020 : Method completed with status: 200