20000: General error

general_error

A generic error that does not correspond to a more specific code. It is used as a catch-all when the condition could not be classified more precisely.

What you should do

Rely on the accompanying message and HTTP status for the specifics, since 20000 itself only signals that the condition didn't map to a more specific code. Capture the message and status, and if the cause isn't clear, contact Ably support with them.

Why it happens

The condition could not be classified under a more specific error code, so the general code was used. The accompanying message describes the actual problem.

What you'll see

The error is reported with code 20000, alongside a message and HTTP status that describe the specific condition.