NextJS 13 on Netlify. Data fetch causes A client-side exception has occurred

I've just created a very simple nextjs 13 site and used the getByUID to fetch a page from Prismic. Works perfect on local, but deployed on Netlify the page returns a 500 with 'A client-side exception has occurred'. I've tried narrowing this down, but it just seems to be when attempting to fetch any data it fails here.

Any suggestions?

Hello @pali

Welcome to the Prismic community, and thanks for reaching out to us.

To debug it more, I need minimal reproductions and logs. Can you share these with me?