Return 404 status for url

I am running a static site but the 404 is currently coming through as a 200 status so I would like to change this in cloudflare to return the 404 status instead.

Is there a way in Cloudflare to achieve this?

This is something the server should handle, not Cloudflare.

Possibly and I am looking at that as an option but I am exploring all options at this point. Though it might be a quick win to implement a custom response header but that doesn’t work in the way I needed it to unfortunately.