Netlify Gatsby SSR page does not respect 404 status

Netlify url:

We are trying to debug an issue we have our a SSR pages not respecting a 404 status return from a getServerData function. We running locally using gatsby serve the site properly respects the getServerData status return of 404 and properly triggers a 404 response and 404 page render. This behavior is different when deployed on Netlify and does not respect the 404 status of the SSR function causing the page to trigger 500 error.

Any help understanding this issue is greatly appreciated.

Thank you

I just visited: and got a 404 successfully. Am I missing something?