Universal Tuya docsHomeSupported devicesRequest a deviceFAQChangelogArchitectureKnowledge baseCreditsSourcesContributing

Athom "processing failed": diagnosis (20/10/2026, P2902)

What we saw (18/10–20/10)

Workflow bug found

scripts/direct-api-publish.js re-polled a terminal processing_failed 5 times, with waits of 30, 60, 90, 90 and 90 s. The delegation token expired during those waits, so the next API call died with FATAL: The provided token is invalid.. The post-failure logic was then skipped: the soft-expect check, the healthy-Test check and the classification for the size CSV (kind=unknown). Every PF run ended red without a usable diagnosis.

Fix (additive)

Next signal

The next PF writes RAW-BUILD keys to the log. If Athom ever returns a reason field, it will be there. Test: test/critical/p2902-payload-preflight.test.js.

Found by the preflight on its first stable run (39347599049, 20/10 ~02:40 Paris)

← Knowledge base index · source