Changed SiteError to StatusCodes