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

Uploading a too large file: wrong error code #6109

Closed
bmarty opened this issue Sep 25, 2019 · 1 comment
Labels
bug

Comments

@bmarty
Copy link

@bmarty bmarty commented Sep 25, 2019

When uploading a too large file, synapse responds with a 413 (OK) but with errcode M_UNKNOWN. According to the spec, it should be "M_TOO_LARGE"

Received responseCode: 413
Received responseBody:
{"errcode":"M_UNKNOWN","error":"Upload request body is too large"}

@anoadragon453

This comment has been minimized.

Copy link
Member

@anoadragon453 anoadragon453 commented Oct 8, 2019

Fixed by #6151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.