Skip to content

errors: Add 40163 and 50007 - #363

Merged
lmars merged 2 commits into
mainfrom
new-error-codes
Sep 16, 2026
Merged

lmars merged 2 commits into
mainfrom
new-error-codes

Conversation

@lmars

@lmars lmars commented Sep 14, 2026

Copy link
Copy Markdown
Member

This adds two new realtime error codes:

  • 40163 "Operation requires a TLS connection"
  • 50007 "Connection key could not be issued"

See commit messages for rationale.

realtime currently uses 40160 "Client lacks the required capability"
when rejecting operations on non-TLS connections or requests when the
tlsOnly channel rule applies, which does not explain the cause of the
error, so add 40163 which does.

Signed-off-by: Lewis Marshall <lewis.marshall@ably.com>
Returned when realtime was unable to issue a connection key, which is
unexpected but worth an explanation if it does occur.

Signed-off-by: Lewis Marshall <lewis.marshall@ably.com>
@lmars
lmars merged commit 18c920d into main Sep 16, 2026
2 checks passed
@lmars
lmars deleted the new-error-codes branch September 16, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants