csharp-rest-api icon indicating copy to clipboard operation
csharp-rest-api copied to clipboard

Conversation messages with status == 'rejected' cause error during ListConversationMessages call

Open yubinchen18 opened this issue 3 years ago • 0 comments

During a call with the client to:

messageBirdClient.ListConversationMessages(conversationId);

got error

Error converting value "rejected" to type 'MessageBird.Objects.Conversations.ConversationMessageStatus'. Path 'items[1].status', line 1, position 1187.

Because response contains a message with status = 'rejected', as 'rejected' is missing in public enum ConversationMessageStatus.

Please fix asap!

image

yubinchen18 avatar Jan 18 '22 09:01 yubinchen18