Skip to content

Payload issue after upgrading from 3.1.0 #190

Open
@kacperd

Description

@kacperd

Hello!

In our project, I noticed the issue with messages payload after upgrading to the SDK version 7.0.0 (previously, we were using version 3.1.0). The problem is that the payload no longer represents the correct JSON and our parsing started to fail.

Here's the debugged value of the payload that we received in SDK 7.0.0:

                  ▿ concretePayload : action","data":{"type":"chat_updated"}}
                  ▿ value : AnyJSONType
                       - string : "action\",\"data\":{\"type\":\"chat_updated\"}}"

It looks like the beginning of the json response was removed and it's no longer interpreted as a valid JSON.

In version 3.1.0, the payload was a correct JSON.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions