ably / ably-go

Go client library SDK for Ably realtime messaging service
https://ably.com/download
Apache License 2.0
83 stars 31 forks source link

'Account disabled' error gets sent as DISCONNECTED #269

Closed tcard closed 3 years ago

tcard commented 3 years ago
{
  "error": {
    "statusCode": 403,
    "code": 40300,
    "href": "https://help.ably.io/error/40300",
    "message": "Account _tmp_2jK0-g disabled. (See https://help.ably.io/error/40300 for help.)"
  },
  "msgSerial": 0,
  "connectionSerial": 0,
  "action": 6
}

Since this isn't a recoverable error, I'd expect an ERROR action instead.

I only tried this in sandbox.

┆Issue is synchronized with this Jira Uncategorised by Unito

tcard commented 3 years ago

Sorry, this wasn't meant for this repo.