Message to Kustom via HTTP POST stopped working since 2 days ago

No changes to the previously working code but it looks like the webhook is not working.
Eg,

> curl -i -X POST https://api.kustom.rocks/msg -H "Content-Type: application/json" --data '{"tokens": ["<token clipped>"], "data": {"foo": "hello from remote!"}}'

does not show anything on the widget:
$br(remote, foo)$

HTTP response looks okay:

HTTP/2 200 
date: Sat, 09 Aug 2025 14:35:19 GMT
content-type: text/plain;charset=utf-8
content-length: 2
x-ratelimit-limit: 5
x-ratelimit-remaining: 2
x-ratelimit-reset: 1754750149
cache-control: max-age=600
strict-transport-security: max-age=31536000; includeSubDomains
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}

Tried on two phones:
OnePlus 12, Android 15
OnePlus 7 Pro, Android 12

1 Like

Exactly the same issue here, too. Stopped working last Monday, August 4th. Calls still respond with status 200 but $br(remote,xyz)$ variable remains empty.

Response headers have also changed a bit between August 4th and 5th:

Response Header on Mon, 04 Aug 2025 04:57:00 GMT (last working call)
[
  {
    "data": "{}",
    "headers": {
      "date": "Mon, 04 Aug 2025 04:57:00 GMT",
      "content-type": "text/plain;charset=utf-8",
      "transfer-encoding": "chunked",
      "connection": "close",
      "x-ratelimit-limit": "5",
      "x-ratelimit-remaining": "3",
      "x-ratelimit-reset": "1754283428",
      "cache-control": "max-age=600",
      "strict-transport-security": "max-age=31536000; includeSubDomains",
      "cf-cache-status": "DYNAMIC",
      "nel": "{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}",
      "server-timing": "cfCacheStatus;desc=\"DYNAMIC\", cfEdge;dur=10,cfOrigin;dur=216",
      "report-to": "{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=o5exkH0b40u535JMs%2FDkmeYCyMR%2BofO6WEu%2FsW2ZJ3w2EhwikmAK2%2B%2BlWp5bzOwAZlqE4BJlHG1ONoGNv8ZO28SpE0FMfcKihvdvq2UfQb0%3D\"}]}",
      "server": "cloudflare",
      "cf-ray": "969b78b16d9e9e9a-CDG",
      "alt-svc": "h3=\":443\"; ma=86400"
    },
    "statusCode": 200,
    "statusMessage": "OK"
  }
]
Response Header on Tue, 05 Aug 2025 06:12:12 GMT (first broken call)
[
  {
    "data": "{}",
    "headers": {
      "date": "Tue, 05 Aug 2025 06:12:12 GMT",
      "content-type": "text/plain;charset=utf-8",
      "content-length": "2",
      "connection": "close",
      "cf-ray": "96a424374d27f0b7-CDG",
      "x-ratelimit-limit": "5",
      "x-ratelimit-remaining": "3",
      "x-ratelimit-reset": "1754374381",
      "cache-control": "max-age=600",
      "strict-transport-security": "max-age=31536000; includeSubDomains",
      "cf-cache-status": "DYNAMIC",
      "server-timing": "cfCacheStatus;desc=\"DYNAMIC\", cfOrigin;dur=216,cfEdge;dur=20, cfL4;desc=\"?proto=TCP&rtt=13251&min_rtt=13218&rtt_var=4980&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2826&recv_bytes=985&delivery_rate=219095&cwnd=183&unsent_bytes=0&cid=2c67e3c41de4477c&ts=257&x=0\"",
      "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=xMS%2FWZJECheouREZ7RnK17bRxBJSvd0HZ4xgsGAJacatAa6mGoPvZQcpuyLm1DTug0YfvFRzn3zj%2F%2FfazIzPBbsWf3Pm2TUzri2LN2P6KazPf7quYB8n8pIDuZdeLYgSoRNN\"}],\"group\":\"cf-nel\",\"max_age\":604800}",
      "nel": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}",
      "server": "cloudflare",
      "alt-svc": "h3=\":443\"; ma=86400"
    },
    "statusCode": 200,
    "statusMessage": "OK"
  }
]
1 Like

Still not working, any ideas where else to flag this ?

Did this happen after an update to 3.80?

I belive so. Then again, I uninstalled, downloaded older version, tried POSTing with a new token but it didn’t work.

Not for me.
I’m still on 3.79b515413, updated June 4th. So nothing has changed on my end between working and broken.

Same here. Follow the thread

Sorry guys had some upgrade being done to the backend API, working on this

2 Likes

This has been fixed, should be slightly faster too now, let me know if you are still experiencing any issue

2 Likes

This topic was automatically closed 25 days after the last reply. New replies are no longer allowed.