All Products
Search
Document Center

ApsaraMQ for Kafka:What do I do if the "Not authorized to access group" error message is returned?

Last Updated:May 25, 2023

Problem description

The "Not authorized to access group" error message is returned when I use Message Queue for Apache Kafka.

Cause

The error message is returned because no consumer group is created.

Solution

You can use one of the following methods to create a consumer group:

  • Create a consumer group by using the Message Queue for Apache Kafka console. For more information, see Step 3: Create resources.

  • Create a consumer group by calling the corresponding API operation.