ably-cocoa icon indicating copy to clipboard operation
ably-cocoa copied to clipboard

Invalid error field name in JSON parser

Open maratal opened this issue 3 years ago • 1 comments

ARTJsonLikeEncoder tries to parse incoming error in the server's response like this:

NSDictionary *errorReason = [input valueForKey:@"errorReason"];

While in the updated implementation of the server's endpoint it's just an error as stated by Ben here - https://github.com/ably/specification/issues/26

┆Issue is synchronized with this Jira Bug by Unito

maratal avatar Jan 20 '22 17:01 maratal

See discussion here https://github.com/ably/ably-cocoa/pull/1269

maratal avatar Feb 14 '22 12:02 maratal