Astro SSR pages not rendering when deployed

Hello,

I’m trying to deploy a ‘hybrid’ Astro SSR site to Netlify using the @astrojs/netlify.

I’m deploying using Netlify CLI with netlify deploy The deploy seems to succeed and the static pages build and deploy fine… but when I visit any SSR page I only see the error:

error decoding lambda response: error decoding lambda response: unexpected end of JSON input

If I test my functions locally with netlify dev using the CLI, everything works fine. I am deploying with the CLI to a branch using netlify deploy --alias "branch-name"

I haven’t been able to find any relevant logs to help troubleshoot the error… is there somewhere I can look to see more information about why this is happening?

1 Like

Did you find a solution to this? My site has also started doing this without making any infra changes.

@jmaclennan, @kara-todd mentioned in the helpdesk that they were able to get it working by downgrading @astrojs/netlify from 5.3.3 to 5.3.2.