https://prefect.io logo
Title
b

Bal Raj

10/02/2022, 8:53 AM
Failed to load and execute flow run: ClientError([{'path': ['secret_value'], 'message': 'Unable to complete operation. An internal API error occurred.', 'extensions': {'code': 'API_ERROR'}}])
facing this issue multiple times? Any solutions?
a

Anna Geller

10/02/2022, 12:51 PM
thanks so much for reporting this! We have an open issue for this here and the last message I heard about it was that we are continuing to work on stabilizing the service backing the secrets API. For now, we deployed client-side retries on this kind of failure, so this shouldn't occur too frequently, LMK if you see different behavior. Thanks again for flagging and giving feedback on this
t

Tyson Chavarie

10/02/2022, 2:07 PM
I am also receiving a similar failure and do use prefect secrets. Is this error related?
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='<http://api.prefect.io|api.prefect.io>', port=443): Max retries exceeded with url: / (Caused by ReadTimeoutError("HTTPSConnectionPool(host='<http://api.prefect.io|api.prefect.io>', port=443): Read timed out. (read timeout=15)"))
I am also seeing the same message as @Bal Raj on other runs:
Failed to load and execute flow run: ClientError([{'path': ['secret_value'], 'message': 'Unable to complete operation. An internal API error occurred.', 'extensions': {'code': 'API_ERROR'}}])
:thank-you: 1
a

Anna Geller

10/02/2022, 3:13 PM
I reported this to the platform team, we are working on stabilizing the secret retrieval service, thanks to both of you for reporting this
👍 1
b

brian

10/02/2022, 3:15 PM
I've also seen multiple failures with one of our prefect cloud flows this morning due to this issue. Thanks for relaying to the platform team @Anna Geller
:thank-you: 1
👍 1