Skip to content

Conversation

@dead8309
Copy link
Contributor

currently the whatsapp login does not handle ratelimits received from WhatsApp leading to synapse(or the matrix) server interpreting it as a 500 and sending that back to the client(we use elementX) instead of correct status code.

sharing logs incase they are helpful

2025-10-17T12:36:54.476Z DBG <iq from="s.whatsapp.net" id="22.238-1" type="error"><error code="429" text="rate-overlimit"/></iq> action=login phone_code=true sublogger=Recv user_mxid=@+[REDACTED]
2025-10-17T12:36:54.476Z ERR Failed to request phone code login error="info query returned status 429: rate-overlimit" action=login phone_code=true user_mxid=@+[REDACTED]

@tulir tulir merged commit ddc6f50 into mautrix:main Oct 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants