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

Providing our own error message #45

Open
Lesrac opened this issue Oct 5, 2021 · 0 comments
Open

Providing our own error message #45

Lesrac opened this issue Oct 5, 2021 · 0 comments

Comments

@Lesrac
Copy link

Lesrac commented Oct 5, 2021

Expected Behaviour

When a call exceeds the defined MaxUploadSize we would like to provide our own error response, so that it matches our other responses made to the frontend.

Actual Behaviour

A (correct) 413 is returned with a predefined error message.

Question

Is there a way to define/use our own response in this case?

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

No branches or pull requests

1 participant