Next,js catch all route not working on Cloudflare

can someone help with a next.js issue we are having with a catch-all dynamic route?

we have a folder in pages like

/jobs

and have these two file:
/jobs/index.tsx
/jobs/[jobid].tsx

have also tried /jobs/[…jobid].tsx

you can visit example.com/jobs fine

but we get a 404 for any example.com/jobs/test url or similar

any ideas? is this some ssr issue? i would think that catch-all routes wouldnt have an SSR issue??