Cannot fetch messages from topic from CMD based CLI

Hi,

I am very much new to Confluent kafka. I setup CLI using CMD in my windows system, i logged in, setup the env and cluster, created user account based and service account based api key using CLI and confluent console. i ran the command “confluent api-key use {apikey} --resource {cluster id}”. and then i ran confluent kafka topic consume --from-beginning poems where poems is the name of my topic.
I got error as “Error: failed to obtain topics from client: API key may not be provisioned yet”. I am not sure what wrong i did. Please help me on this. I am in middle of a demo and i am not able to proceed further.