DJ Erraballi

    DJ Erraballi

    1 year ago
    2020-12-12T16:53:10.075-08:00	[2020-12-13 00:53:10] ERROR - prefect.CloudTaskRunner | Failed to set task state with error: ClientError([{'path': ['set_task_run_states'], 'message': 'Unable to complete operation', 'extensions': {'code': 'API_ERROR'}}],)
    
    2020-12-12T16:53:10.075-08:00	Traceback (most recent call last):
    
    2020-12-12T16:53:10.075-08:00	File "/usr/local/lib/python3.6/site-packages/prefect/engine/cloud/task_runner.py", line 123, in call_runner_target_handlers
    
    2020-12-12T16:53:10.075-08:00	cache_for=self.task.cache_for,
    
    2020-12-12T16:53:10.075-08:00	File "/usr/local/lib/python3.6/site-packages/prefect/client/client.py", line 1104, in set_task_run_state
    
    2020-12-12T16:53:10.075-08:00	version=version,
    
    2020-12-12T16:53:10.075-08:00	File "/usr/local/lib/python3.6/site-packages/prefect/client/client.py", line 226, in graphql
    
    2020-12-12T16:53:10.075-08:00	raise ClientError(result["errors"])
    
    2020-12-12T16:53:10.075-08:00	prefect.utilities.exceptions.ClientError: [{'path': ['set_task_run_states'], 'message': 'Unable to complete operation', 'extensions': {'code': 'API_ERROR'}}]
    
    2020-12-12T16:53:10.075-08:00	ERROR:prefect.CloudTaskRunner:Failed to set task state with error: ClientError([{'path': ['set_task_run_states'], 'message': 'Unable to complete operation', 'extensions': {'code': 'API_ERROR'}}],)
    
    2020-12-12T16:53:10.075-08:00	Traceback (most recent call last):
    
    2020-12-12T16:53:10.075-08:00	File "/usr/local/lib/python3.6/site-packages/prefect/engine/cloud/task_runner.py", line 123, in call_runner_target_handlers
    
    2020-12-12T16:53:10.075-08:00	cache_for=self.task.cache_for,
    
    2020-12-12T16:53:10.075-08:00	File "/usr/local/lib/python3.6/site-packages/prefect/client/client.py", line 1104, in set_task_run_state
    
    2020-12-12T16:53:10.075-08:00	version=version,
    
    2020-12-12T16:53:10.075-08:00	File "/usr/local/lib/python3.6/site-packages/prefect/client/client.py", line 226, in graphql
    
    2020-12-12T16:53:10.075-08:00	raise ClientError(result["errors"])
    
    2020-12-12T16:53:10.075-08:00	prefect.utilities.exceptions.ClientError: [{'path': ['set_task_run_states'], 'message': 'Unable to complete operation', 'extensions': {'code': 'API_ERROR'}}]
    
    2020-12-12T16:53:10.087-08:00	[2020-12-13 00:53:10] INFO - prefect.CloudTaskRunner | Task 'aggregate_patients': finished task run for task with final state: 'ClientFailed'
    Ran into this yesterdsay, seemed intermittent but is thsi due to prefect cloud being down
    Chris White

    Chris White

    1 year ago
    Hi @DJ Erraballi - can you please not post large text blocks in the main channel, it can be disruptive for other threads / users. Instead please post your main question and the block within the thread (or GitHub if that’s more appropriate for the given question). To answer your question though - this was during the maintenance window and so it is very likely this was caused by the service upgrades we performed on Saturday