server
server copied to clipboard
Wandb local - API key must be 40 characters long, yours was 58
Hi Team,
I am trying to perform Visualize training in your own ML project quick start for Integrate W&B with any Python script. when I copy and paste local API Key from http://localhost:8080/authorize and paste in the command it gives an error:
wandb: ERROR API key must be 40 characters long, yours was 58
Kindly suggest how to get 40 char API key.
Thanks & Regards, Rakesh
Hey Rakesh, there must be something funky with the way your copying the key. Our api keys are always 40 characters long. With local deployments there's always a prefix, so it should look like: local-X(*40)
. Can you try pasting the key into a text editor and see if you're somehow copying some extra characters?
Hey Chris,
Thank you for the quick response. There was indeed some extra characters appended during copy. It worked while copying to text-editor and then performing the same steps.
Thanks & Best Regards, Rakesh
@rakesh-sodha good to know, I wonder if we can somehow prevent this. Can you share what browser / OS you're using? If we can reproduce we might be able to prevent other users getting confused like this.
Hi @vanpelt
Browser Safari & macOS Monterey v12.4 (iTerm cmd)
Best Regards, Rakesh
@rakesh-sodha ,
Thank you for providing info. We will attempt to reproduce.
I did a search online to see if there are any known issues with iTerm cmd
and a few hits came up regarding additional characters being added when pasting to it. Some have suggested to use reset
in the terminal window to fix the problem. In the meantime we will attempt to reproduce.
WandB Internal User commented: rakesh-sodha commented: Hi @vanpelt
Browser Safari & macOS Monterey v12.4
Best Regards, Rakesh
https://stackoverflow.com/questions/64093979/weights-and-biases-login-and-network-errors i tried the above solution and it work for me