Invalid credentials in Authorization header (FLux dev)

HI! I wanna train a Lora with the Ostris Toolkit with Flux dev, but its not working because my token is rejected. I tried everything, even new account, several new tokens (read), and yes i accepted the licence, but its not working :frowning:

Running 1 process
Loading Flux model
Loading transformer
Error running job: There was a specific connection error when trying to load black-forest-labs/FLUX.1-dev:
401 Client Error: Unauthorized for url: https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/transformer/config.json (Request ID: Root=1-68d72cb0-0039a958088b296375f86c93;df4881f2-3c58-41c8-8d04-d66252df8c2e)

Invalid credentials in Authorization header

Do someone else had the same problem and find a solution?

1 Like

I tried everything, even new account, several new tokens (read), and yes i accepted the licence,

Hmm… If it’s not a common issue with the gated model, it’s suspected that a fine-grained token is being used instead of a read token.