If you aren't running it through the itch launcher, then do so, otherwise you'll need to pass in your itch api key through an environment variable. Let me know if you still have trouble!
Thanks!