Skip to content
Advertisement

KsqlClientException: Received 401 response from server: Unauthorized. Error code: 40100

Trying to connect to Confluent hosted KSQL db.

JavaScript

And i get an exception during client.listStreams().get():

JavaScript

What am i missing here?

Advertisement

Answer

Did you check the API_KEY/API_SECRET on your Confluent Cloud cluster to see if it is granted access to KSQLDB?

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement