Astro SSR Netlify Adapter - 500 error frontend - parse.json error Netlify function logs - using WordPress API at Siteground

Backend: WordPress API at Siteground
Frontend: Astro with SSR Netlify adapter

Locally everything is fine.
On deployment everything is fine for about an hour

At this point the frontend is a white screen 500 error.

I have currently disabled the SSR so that the site works. You won’t see the error if you go to the site. Any ideas why Netlify would be throwing these errors?

This has nothing to do with Netlify. The error says unexpected token < in JSON. So your API responded with HTML (or XML) and you tried to parse it as JSON. Something went wrong with your API and not Netlify.