-
Notifications
You must be signed in to change notification settings - Fork 116
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
Iron-Router Error: request entity too large at makeError #78
Comments
Let me check if this is specific to Iron Router (the Iron Router dependency has been removed from Restivus in the unreleased v0.7.0). From the issue you referenced, it appears it may be a property that can be set on the Connect |
I am having the same issue. |
This could be a fairly simple fix if it's just a matter of setting a config option in the |
Would either of you be able to share a sample request body with me for testing? If it's too large to post here you can email it to me. |
I'll try to do so tomorrow morning (GMT+1) - so in about 14 hours. Kahmali Rose notifications@github.com schrieb am Mo., 15. Juni 2015 um
|
Awesome. Thanks @michaelleuzinger! |
Late but hopefully not too late... |
You have to configure the bodyParser on the server side in order to allow bigger requests :
|
Thanks for the test data @michaelleuzinger! And thanks for the information @samybob1! I would add an API config option to get rid of the boilerplate, but I'm close to releasing v0.8.0, which removes Iron Router, so we'll need to add a means of increasing the body size limit in simple:json-routes (the iron router replacement), and I'll provide a config option whenever that's taken care of. Sorry for being so slow on a resolution for this. |
Hi, I have the same problem with json-routes and large POST requests. Is there a way to deal with that? |
Hi @heiligeslama. Thanks for reporting this issue. I knew it was coming, as you can see from my comment above :) I filed an issue on the |
The request size limit has been increased to 50mb in v0.8.6 |
Hi,
I'm trying to upload json data to my application via a POST request to the Restivus REST API. The json data has about 350kByte of size.
Unfortunately I receive this error message: "Error: request entity too large at makeError"
I suppose I found the solution here: iron-meteor/iron-router#710
How can I achieve this in Restivus? Is there a way to configure the routers centrally like the Restivus.configure() stuff?
The text was updated successfully, but these errors were encountered: