-
Notifications
You must be signed in to change notification settings - Fork 1
Description
When an agent sent image in chat, app is not getting correct event details. Also, library is having decoding issue.
Received data: {"events":[{"event":"chat_session_file","file_id":"c58eb82c-5568-46ca-b258-0ab4d5fda21b","file_name":"Chicken.jpeg","file_type":"image","msg_id":"6","party_id":"BDCB07D3-D18B-468E-94F7-5FCE58D6CC6B","timestamp":"1622177975"}]}
[ContactCenterEventsContainerDto.swift init(from:):43] Failed to parse unknown message from server: dataCorrupted(Swift.DecodingError.Context(codingPath: [_JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "event", intValue: nil)], debugDescription: "Cannot initialize ContactCenterEventTypeDto from invalid String value chat_session_file", underlyingError: nil))
Please find attached logs:
no_image_chat.zip