Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserialization issue when retrieving event messages #85

Open
NamalD opened this issue Sep 14, 2020 · 0 comments
Open

Deserialization issue when retrieving event messages #85

NamalD opened this issue Sep 14, 2020 · 0 comments

Comments

@NamalD
Copy link

NamalD commented Sep 14, 2020

The client throws an exception when attempting to retrieve a conversation message of type event. When inspecting the stack trace, this error message appears:

Error converting value "event" to type 'MessageBird.Objects.Conversations.ContentType'. Path 'items[0].type',

On initial inspection, issue seems to be the lack of an Event enum member in MessageBird.Objects.Conversations.ContentType.

Steps to reproduce

  1. Start a conversation
  2. Send a message of type event with some text content (e.g. when adding a note from a Flow)
  3. Call ListConversationMessages from SDK client for that conversation

Excepted

  • Event message is retrieved successfully and content can be read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant