alkem-io / matrix-adapter

Wrapper around Matrix homeserver for supplying communications capabilities in Alkemio.
0 stars 0 forks source link

BUG: Failed to obtain room: Error when getting room details: Error: [User: @matrixadmin2=alkem.io:matrix.alkem.io] #52

Closed Comoque1 closed 1 month ago

Comoque1 commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://alkem.io/regendemo/challenges/innovationprocessd-243
  2. Scroll to the bottom of the page - error is thrown: "Failed to obtain room: Error when getting room details: Error: [User: @matrixadmin2=alkem.io:matrix.alkem.io] Unable to access Room (). Room either does not exist or user does not have access." image.png

OR

  1. Go to https://alkem.io/graphql
  2. Run the following:
query CalloutDetails {
  lookup {
    callout(ID: "8292253e-2551-4f3b-aa49-a5f1ce4780e1") {
      comments {
        messages {
          id
          message
        }
      }
      __typename
    }
    __typename
  }
}

Expected behavior Errors are not thrown and data is successfully returned.

valentinyanakiev commented 1 month ago

this is not a client bug, it is matrix-adapter

valentinyanakiev commented 1 month ago

It was a deleted matrix room. The message count was 0 and it was general chat, so I removed the Callout and the problem was fixed.