Support Forums

Internal server error

I am using next js and trying deploy it to netlify,but netlify gives me the following error while running netlify deploy

Build log :

Deploy path: C:\Users\MY_USER\Desktop\test\my-app\out
Functions path: C:\Users\MY_USER\Desktop\test\my-app\functions
Configuration path: C:\Users\MY_USER\Desktop\test\my-app\netlify.toml
Deploying to draft URL…
:heavy_check_mark: Finished hashing 18 files and 2 functions
:heavy_check_mark: CDN requesting 0 files and 1 functions
⠦ (0/1) Uploading next_image… » Warning: JSONHTTPError: 500
» Warning:
» {
» “name”: “JSONHTTPError”,
» “status”: 500,
» “json”: {
» “status”: 500,
» “error”: “Internal Server Error”
» }
» }
⠧ (0/1) Uploading next_image… JSONHTTPError: Internal Server Error

netlify.toml file :

command = “npm run build”
functions = “functions”
publish = “out”

package = “@netlify/plugin-nextjs”

Hi there, @alisalimli :wave:

It looks like this thread has been a bit quiet since you first posted. Are you still encountering issues? If you, we need a little more information on the issues you are facing.

Please tell us:

  • the name of your build instance: “example-jones.netlify.com
  • what you are trying to accomplish
  • what you have already tried
  • any error messages you have received in your terminal window or in the developer console
  • your public repo if possible


Oh thanks, i solved the issue

1 Like

Hey there, @alisalimli :wave:

Glad to hear! Please feel free to share what steps you took so that other forums members can learn as well.

1 Like

That’s great @alisalimli! When you get time we would really appreciate if you could follow this thread up with the solution…

thanks for making the forums great :grinning:

1 Like

ahaha you beat me to it :grinning:

1 Like