`Failed to load and execute flow run: ClientError(...
# prefect-community
b
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
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
I am also receiving a similar failure and do use prefect secrets. Is this error related?
Copy code
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'}}])
🙏 1
a
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
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
🙏 1
👍 1