From e1e39b5b3a2130b34485cdf013dc500e1c81cac3 Mon Sep 17 00:00:00 2001 From: Simon Woolf Date: Thu, 8 Jan 2026 11:43:58 +0000 Subject: [PATCH] Add error codes for channel history errors - 90008: "unable to get channel history (attach point not found)" - 40024: "unable to get channel history (incompatible site)" These errors are returned by the realtime repo's messagecache when: - The requested fromSerial (attach point) is not found in the cache (90008) - The requested fromSerial is from a different site than the cache (40024) Co-Authored-By: Claude Opus 4.5 --- protocol/errors.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol/errors.json b/protocol/errors.json index a0aae76..d3b4ae7 100644 --- a/protocol/errors.json +++ b/protocol/errors.json @@ -27,6 +27,7 @@ "40021": "Feature requires a newer platform version", "40022": "API Streamer has been shut down", "40023": "Action requires a newer protocol version", + "40024": "unable to get channel history (incompatible site)", "40030": "Invalid publish request (unspecified)", "40031": "Invalid publish request (invalid client-specified id)", "40032": "Invalid publish request (impermissible extras field)", @@ -189,6 +190,7 @@ "90005": "unable to recover channel (no matching epoch)", "90006": "unable to recover channel (unbounded request)", "90007": "channel operation failed (no response from server)", + "90008": "unable to get channel history (attach point not found)", "90010": "maximum number of channels per connection/request exceeded", "90021": "exceeded maximum permitted account-wide rate of creating new channels", "91000": "unable to enter presence channel (no clientId)",