someone, know why when i tried to run "prefect register --project "my proj" -p /home/user/app_flows/” in a .sh file (to auto register my flows when my VM turns up) don’t work? But running the same line in the terminal works... The triggered error is prefect.utilities.exceptions.AuthorizationError: [{'path': ['project'], 'message': 'AuthenticationError: Forbidden', 'extensions': {'code': 'UNAUTHENTICATED'}}]
k
Kevin Kho
05/25/2021, 9:07 PM
Hi @Pedro Henrique , I’ll ask the team about this.
z
Zanie
05/25/2021, 9:12 PM
Hey @Pedro Henrique -- this sounds like an issue where the auth isn't set up when your VM spins up. How did you set up your authentication? What happens if you run
prefect diagnostics
on VM start and in the terminal as you've described?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.