-
SummaryNext JS Version : 13.4.7 Describe The Bug--------------------------------------------So i already read this discussion/Issue I didnt use any Next.JS API I think? I just used Server Actions to handle the communication through Other Apps API. I have alrady tried to put below code everywhere, in next js config, in the file (top,bottom, everywhere) and it keep saying 1mb file limit whenever i want to upload image more than 1mb. It works if the image is less than 1mb. How to Reproduce--------------------------------------------
Systems InformationServer : P.S. : This is my thesis project with my friend, I am actually a backend guy so i didn't really know much about the HTML and stuff, so i will tag my frontend guy @hfpland Additional informationNo response Example |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 14 replies
-
See https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions#size-limitation |
Beta Was this translation helpful? Give feedback.
-
that link is no longer available. what did yall do to increase size |
Beta Was this translation helpful? Give feedback.
-
I don't think the accepted answer is valid anymore. Any updates? |
Beta Was this translation helpful? Give feedback.
-
I want to be able to do something like this
but in the build I see this warning any ideas to maybe bypass this |
Beta Was this translation helpful? Give feedback.
-
Have a look at this documentation please. Depending on the Next.js version you are using this should work. You could also check if there is a restriction on the body size on a different level, for example on the hosting provider's side. |
Beta Was this translation helpful? Give feedback.
-
guys an api call /api/.... is not a server action, look after what server action is and then setting body size will work out. |
Beta Was this translation helpful? Give feedback.
See
https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions#size-limitation