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

Error message through in 9.x if you send IM message #363

Closed
vaibhav-db opened this issue Aug 10, 2022 · 1 comment · Fixed by #364
Closed

Error message through in 9.x if you send IM message #363

vaibhav-db opened this issue Aug 10, 2022 · 1 comment · Fixed by #364
Assignees

Comments

@vaibhav-db
Copy link
Contributor

Error message through in 9.x if user sent IM message

Steps to Reproduce:

  1. Send IM message to Bot like /help
  2. You will received the help menu but in background error message through

Error Message:

An unknown error occurred while trying to connect to https://db-test-2.symphony.com:443/pod. Please check below for more information: {"code":400,"message":"Either the stream you're trying to access does not exist, you're not allowed to view its details, or this stream is not a room."}

code

In PresentationMLHandler.onApplicationEvent it load the Room info, there BDK log the error and return null.
We should check the StreamType == ROOM then only load the RoomInfo

Same for ElementsHandler.accept, when user response in chat IM.

@pankaj-a-khandelwal-db
Copy link
Contributor

For completeness - Though we see this error in logs, however there are no sideeffects of it. Code still works fine.
So, this can be considered more like a warning message (though could cause confusion, hence better to fix).

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

Successfully merging a pull request may close this issue.

2 participants