My site name is (https://next-page-builder.netlify.app/). Yes I need some clarify about create json file via netlify site example when i submit a form based on form is create file via next js api call same as edit delete option

PLEASE help us help you by writing a good post!

  • we need to know your netlify site name. Example: gifted-antelope-58b104.netlify.app
  • DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
  • Build problems? Link or paste the FULL build log & build settings screenshot

ERROR Error creating JSON file: [Error: EROFS: read-only file system, open

The better the post - the faster the answer.

Hi welcome to the forums. Can you please edit your post and title to clarify what you are asking?

1 Like

I am update the link kindly check


I am attached the screenshot .I am explaning the code work flow when I enter the file name in input box enter based on input value (api/?path="input value ") in next js api backend fs.writefilesync(input value,default data) It’s working as well as in local host

HI, I see that your site is timing out as one of the issue in your screenshot. I can bump your function timeout which may help your function work, but you need to be on a pro plan or higher, right now you are on the starter tier - this is a requirement that applies to everyone who wants a bigger timeout. You can upgrade to Pro easily through the Netlify UI dashboard.

If you let us know when you have upgraded, we can change the settings for you!