Error when running kafka streams joins tutorial

I am following a tutorial on https://developer.confluent.io/learn-kafka/kafka-streams/hands-on-joins/ and for previous exercises, I have no error messages, but with joins I am getting

Producing records encountered error org.apache.kafka.common.errors.InvalidConfigurationException: Unauthorized; error code: 401

Could anyone explain why this could happen?
I’ve copied all the required properties from confluent.cloud set up, and added both keys - for cloud itself and for schema registry as well. Schema registry keys are entered as basic.auth.user.info=api:secret_key and the cc keys were inserted automatically. Are there some extra steps I need to make to remove these errors?

@ityulkanov I tested the tutorial following the instructions and was able to run the joins tutorial without error.

Could you provide more details or try catching the specific exception in a debugger and posting the related stack trace?