A
Arduino3mo ago
amogus

Cloud thing webhook reports inactive when webhook is active

My google app script webhook works when I manually send requests but Arduino Cloud reports it inactive and does not send any data to it.
6 Replies
amogus
amogusOP3mo ago
here is the script:
amogus
amogusOP3mo ago
Like I said, postman can send data with this body:
{
"event_id": "test-event",
"webhook_id": "test-webhook",
"device_id": "device123",
"thing_id": "thing123",
"values": [
{
"id": "property123",
"name": "humidity",
"value": 0,
"persist": true,
"updated_at": "2025-06-12T11:00:00.000Z",
"created_by": "tester"
},
{
"id": "property124",
"name": "temperature",
"value": 71,
"persist": true,
"updated_at": "2025-06-12T11:00:00.000Z",
"created_by": "tester"
}
]
}
{
"event_id": "test-event",
"webhook_id": "test-webhook",
"device_id": "device123",
"thing_id": "thing123",
"values": [
{
"id": "property123",
"name": "humidity",
"value": 0,
"persist": true,
"updated_at": "2025-06-12T11:00:00.000Z",
"created_by": "tester"
},
{
"id": "property124",
"name": "temperature",
"value": 71,
"persist": true,
"updated_at": "2025-06-12T11:00:00.000Z",
"created_by": "tester"
}
]
}
But Arduino cloud says it is inactive @Community Manager Can anyone help me?
BluLightShow
BluLightShow3mo ago
Please read #code-of-conduct and don’t ping for help
amogus
amogusOP3mo ago
Sure, this is solved on the forum anyways.
ptillisch
ptillisch3mo ago
Hi @amogus. Was this the solution you found on Arduino Forum?: https://forum.arduino.cc/t/webhook-becomes-inactive-after-some-time/1351165/14
Arduino Forum
Webhook becomes inactive after some time
I had an instance in the past week where (3) Things using the same webhook posting to Google Script, and then onto my local server, stopped sending data, but only for (2) of the (3) Things. Same code as I posted below in this thread: var cloudData = JSON.parse(e.postData.contents); var thingData = cloudData.values; for( var i=0; i < thingData...
amogus
amogusOP3mo ago
Yeah

Did you find this page helpful?