This shouldn't be "not_found" instead of "not_found_error"?
Because after, you're verifying this situation with "if (error.not_found)"