if (!filter_var($orgObject->id, FILTER_VALIDATE_INT)) {
            throw new Exception("Cannot fetch upcoming events because the specified organisation is invalid or doesn't exist");
        }