After we update to nextjs 16 vercel production build started to give this error: Error: Builder returned invalid routes: should match pattern “^[a-zA-Z0-9_ :;.,”'?!(){}\[\]@<>=+*#$&`|~\^%/-]+$"
Before update there was 0 issues on deployment. I checked my routes they look okay. I tried to add trailingSlash: false then skipTrailingSlashRedirect: true on next.config no success. tried to disable cacheComponents no success. tried to minimize next.config and proxy.ts files like to default ones still no success. even removed generateSitemaps or metadata generation etc no success.
Local build and local vercel builds are working without error.