SYNC: Request ID 7814133750281608407 returned with empty JSON
See original GitHub issueI am getting this error when i send JSON to SYNC Request via app.onSync((body, headers) => {});
This is the JSON Response which i am sending:
{
"requestId":"7814133750281608407",
"payload":{
"agentUserId":"5b9c1a1b72d65025a8ca3f33",
"devices":[
{
"id":"5b9c1a1b72d65025a8ca3f22",
"type":"action.devices.types.OUTLET",
"traits":[
"action.devices.traits.OnOff"
],
"name":{
"defaultNames":[
"IR Switch"
],
"name":"TV",
"nicknames":[
"ir switch"
]
},
"attributes":{
},
"roomHint":"kitchen",
"deviceInfo":{
"manufacturer":"iRHub",
"hwVersion":"1.0",
"swVersion":"1.0",
"model":"IR Device"
},
"willReportState":false
},
{
"id":"5b9c1a1b72d65025a8ca3f88",
"type":"action.devices.types.OUTLET",
"traits":[
"action.devices.traits.OnOff"
],
"name":{
"defaultNames":[
"IR Switch"
],
"name":"AC Remote",
"nicknames":[
"ir switch"
]
},
"deviceInfo":{
"manufacturer":"iRHub",
"hwVersion":"1.0",
"swVersion":"1.0",
"model":"IR Device"
},
"willReportState":false
}
]
}
}
The Error SYNC: Request ID 7814133750281608407 returned with empty JSON
is coming on Google Cloud Logs Viewer. Just after Account Linking completes, google assistant sends RequestSync to Cloud API, This ‘empty json error’ is encountered and then account linking fails.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
request with JSON returns empty body Nodejs - Stack Overflow
You are adding the query string containing movie_id to the request URL over and over again. So only the first request will work...
Read more >Request Sync | Cloud-to-cloud - Google Home Developers
This allows you to update users' devices without unlinking and relinking their account. All users linked to this identifier will receive a SYNC...
Read more >Call for the templates of API response. Empty json arrays
Empty json arrays. Hello,. We faced with the issue. Responses to the API calls "SEQ-screen-sync-individual: Perform Synchronous Screening: ...
Read more >[MS-ASCMD]: Empty Sync Request and Response
The scenario begins when a Sync request is issued by the client and indicates that there are no pending changes to report to...
Read more >Synchronous Requests | Search Ads 360 API
In response to the request, the Search Ads 360 API will return the entire report in a JSON object. Synchronous requests:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah I’d look at what that is doing to transform the objects, as that could change what is happening to the response that you return.
Then i think problem is with Oauth2 Middleware. It coverts the express req and response objects to it’s own. that might be causing the problem