google-home / smart-home-nodejs

A sample of the Smart Home device control APIs in Actions on Google
Apache License 2.0
888 stars 289 forks source link

No data in SYNC request #555

Closed predond closed 2 years ago

predond commented 2 years ago

Hello, I made my fulfillment API that fulfill Actions on Google project. But when I set breakpoint and check for whole Request element received it doesn't have any body due to "Incorrect Content-Type: application/json;charset=UTF-8" error and no authority header. What can be issue, what is it coming that way instead of official syntax: { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "inputs": [{ "intent": "action.devices.SYNC" }] } I will be grateful if you could help.