Hi @g h ,
When accessing a invalid SharePoint page url, it will redirect to a page url like this:
http://sp/Pages/PageNotFoundError.aspx?requestUrl=http://sp/404
This shoule be a default action in SharePoint to handle invalid page url and this page request is 200 when checking in Developer Tool: