Open rlbartle opened 3 years ago
Was able to get it working by configuring the API Gateway resource. Integration Response => Mapping Templates:
Integration-Response
= $input.path('$.body')
There needs to be documentation of some kind to let us know what the expected configuration the api gateway should be.
The issue is that whatever the contents of a response may be, it is being rejected which also means the account linking fails.
The log shows the following message every time this happens:
With the debug option of the smarthome object set to true, this is some example output tagged in the log as "Response":
This is hosted on AWS Lambda API gateway - using the Node.js 14.x runtime and additional modules for the latest v3 AWS SDK.