The value for maxDuration must be between 1 second and 60 seconds

Hello

I’m trying to setup a new project. It uses the same git repo as another project in my account.

When I finish setting it up, and click “Deploy” I get a read toast error that says “The value for maxDuration must be between 1 second and 60 seconds”. I then disappears.

I’m not setting any values for maxDuration. I dont even know what this is referring to.

But, even after this message disappears, and even after I push a commit, no deployment happens.

What can I do?

— Update —
I’ve tried adding a verce.json file to the root. In this file I’ve set "maxDuration": 60,. Done git commit and push.

Still no build :frowning:

Hey there, from what I can see you are trying to deploy a fork of a project? When I go to the GitHub repo of said project they seem to be setting maxDuration to 150. Might be worth double checking.

Thank you @ecklf !

I’ve done a search in the forked repo for maxDuration - and I do find references to it in README files, but cannot set it being set anywhere.

Anyway, I’ve added a vercel.json file in the relevant sub directory and pushed it.

Build looks to be queued… …looks good so far.

Yeah it didn’t seem like your builds were failing, which they should have if maxDuration is outside of your plans limits.

For reference this is the file I found in the repo: