”Unauthorized” errors
Verify the API key is correctly set and the service account has access to the target project. For restricted projects, you must explicitly add the service account to the project’s access list.Runs not appearing
Check that theWANDB_ENTITY environment variable is set to the correct team name. Replace [TEAM_NAME] with your team’s name:
WANDB_ENTITY isn’t set, runs may log to the wrong entity.
User attribution not working
If you useWANDB_USERNAME to attribute automated runs to a human user, ensure the user specified is a member of the team. Replace [USERNAME] with the W&B username:
Access denied to restricted projects
Explicitly add the service account to the restricted project’s access list. Service accounts don’t automatically have access to restricted projects, even if they belong to the team. For more information, see Use service accounts to automate workflows.Administrator Security