Hi can someone help me understand why these flows ...
# prefect-community
j
Hi can someone help me understand why these flows are failing trying to access cloud secrets - just had 4 in a row; • https://cloud.prefect.io/dat-eng/flow-run/304e4a56-47c4-43e7-a0ff-56712b35ac61https://cloud.prefect.io/dat-eng/flow-run/57204063-5800-402e-b4e2-6cc3d6cefca2
Copy code
prefect.exceptions.ClientError: [{'path': ['secret_value'], 'message': 'An unknown error occurred.', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
k
We had some instability issues with secrets, and then we fixed them, and this seems like another issue, This is actively being worked on
🙌 1
j
Ahh ok - in order to avoid this any idea how I can use an env var that I poulate myself for the webhook URL?
The hook seems to only accept a secret name - is it a case of writing my own slack task?
j
I also suggest configuring retries on your prefect secrets
Copy code
PrefectSecret("YOUR_SECRET", max_retries=3, retry_delay=timedelta(seconds=5))
j
Its the
slack_notifier
- I don't control it
k
Yeah you’d had to use a Local Secret for that same task then. Or you could copy the code under the hood. It’s not a lot of code
j
Cool!