Avoid caching the consumer id and manage errors