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

500 TypeError: unhashable type: 'dict' when setting membership state with non-string avatar_url #14321

Open
matrixbot opened this issue Dec 20, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 20, 2023

This issue has been migrated from #14321.


https://sentry.tools.element.io/organizations/element/issues/39942/?project=2&query=is%3Aunresolved&statsPeriod=24h

Someone called PUT /_matrix/client/r0/rooms/!REDACTED%3Amatrix.org/state/m.room.member/%40REDACTED%3Amatrix.org with content of the form

{avatar_url: {content_uri: 'REDACTED'}, displayname: 'REDACTED, is_direct: False, membership: 'join'}

The avatar_url is malformed: it should be a string.

@matrixbot matrixbot changed the title Dummy issue 500 TypeError: unhashable type: 'dict' when setting membership state with non-string avatar_url Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant