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

HTTP Error 413 #166

Open
bardram opened this issue Oct 30, 2024 · 1 comment
Open

HTTP Error 413 #166

bardram opened this issue Oct 30, 2024 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@bardram
Copy link
Collaborator

bardram commented Oct 30, 2024

Trying to upload an image on 13 MB I get an HTTP error 413

{
 "type": "about:blank",
 "title": "Payload Too Large",
 "status": 413,
 "detail": "Maximum upload size exceeded",
 "instance": "/api/studies/b7a4d433-c267-4d2c-b182-67bbbc37279b/files",
 "properties": null
}

We should be able to upload files & images.

@bardram bardram added bug Something isn't working enhancement New feature or request labels Oct 30, 2024
@yuanchen233
Copy link
Collaborator

This is defined in application.yml under spring.servlet.multipart.maxfile-size and max-request-size.

change this on environment specific yml files and re-deploy once we agrees to a new maximum. ps: consider videos also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants