Hello everyone ! I have this error when I try to ...
# prefect-cloud
j
Hello everyone ! I have this error when I try to deploy a flow using
prefect deploy
:
Copy code
prefect.exceptions.ScriptError: Script at 'xxxxxxxx.py' encountered an exception: PrefectHTTPStatusError("Client error '401 Unauthorized' for url '<https://api.prefect.cloud/api/accounts/xxxxxxx/workspaces/xxxxxx/block_types/slug/gcp-credentials/block_documents/name/bq-load-creds?include_secrets=true>'\nResponse: {'detail': 'Invalid authentication credentials'}\nFor more information check: <https://httpstatuses.com/401>"
It seems that there is an issue with the gcp-credential block. I also have the same issue with other types of blocks and on flows that I successfully deployed in the past... (I'm using Prefect Cloud) Can somebody help me please 😞?
1
I was able to fix this by logging in again (
prefect cloud login
)... 😅
👍 1