`page.resources[error.id]` object needs to be initialized