https://prefect.io logo
Title
s

Suresh R

05/03/2022, 6:37 AM
Hi! I am getting below error sometimes when i try to update a Prefect secret, i suspect multiple flows updating same secret at same time causing this issue, still i am not sure. Can someone help.
prefect.exceptions.ClientError: [{'path': ['secret_value'], 'message': 'An unknown error occurred.', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
a

Anna Geller

05/03/2022, 10:20 AM
This code is very generic and hard to give an immediate answer this way. Does your Secret value have a large payload? Are you on Prefect Cloud? If you are on Server this won't work as shown here
k

Kevin Kho

05/03/2022, 2:16 PM
Do the flows update the secret or just pull?
s

Suresh R

05/03/2022, 6:02 PM
It updates and the pulls
k

Kevin Kho

05/03/2022, 6:04 PM
Yeah I imagine this is a concurrency thing. You could try limiting it with task run concurrency limits if you are on Cloud?