-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
maxFileSize not working #9347
Comments
is there a proxy in between? then you have to change this on proxy as well. if not, try this server: {
maxFileSize: 100 * 1024 * 1024,
extendExpressApp(app) {
app.use(bodyParser.json({ limit: '20gb' }));
},
}, |
Fixed in #9348 |
Thanks for the feedback. |
I was using keystone 6.1.0 |
Again, I believe this is not solved. |
@jj-matos following https://github.com/keystonejs/keystone/releases/tag/2024-11-07, can you please verify this still isn't working for you? |
Thanks for the update. "Uncaught TypeError: selectedFields.keys().some is not a function And now, even when i revert to previews keystone versions the error keeps poping up. Also the API Apollo Playground at '/api/graphql' became inaccessible: "This operation has been blocked as a potential Cross-Site Request Forgery (CSRF). Please either specify a 'content-type' header (with a type that is not one of application/x-www-form-urlencoded, multipart/form-data, text/plain) or provide a non-empty value for one of the following headers: x-apollo-operation-name, apollo-require-preflight\n" |
The strange is that even reverting to past KS versions it doesnt solve. I have to download an old yarn.lock from past commits. |
This error had a different origin. Nothing to do with the update. It was an environment issue: But the other one I believe it is coming from the update |
I have set maxFileSize to 20GB.
Got this error on trying to upload a 1.5GB file
Seems the limit stays at 200MB.
Our expectation is to be able to set a higher upload limit. Specifically 20GB.
I also tried to set a lower limit of 20MB and upload a 30MB file to check if it was just an upper limit issue, but it allowed to upload the 30MB file. So it seems that maxFileSize is not working at all. No matter the value is set, the limit is always 200MB.
Keystone 6
node v18.19.0
Any workaround this issue?
The text was updated successfully, but these errors were encountered: