API Key Error when fine tuning model

Hello everyone,

I dont if I am missing something here but I am new to this topic:

I am trying to fine tune a Sentiment Analysis Model. When I finally train my trainer model I am asked to enter the API key from my profile. I am taking the key from my Huggingface settings area, insert it and get the following error:

ValueError: API key must be 40 characters long, yours was 38
wandb: ERROR Abnormal program exit

Any idea what could be the problem? I am pretty sure that I havent deleted any characters or anything.

Facing the same issue.
Did you resolve it @marlon89 ?
UPD:
I was using access token from hugginface instead of API key
I created an wandb.ai account and got the API key, it worked.