I use a docker run with gitlab storage. I got this...
# prefect-community
m
I use a docker run with gitlab storage. I got this error then:
Copy code
prefect.utilities.exceptions.ClientError: 400 Client Error: Bad Request for url: <http://host.docker.internal:4200/graphql>

The following error messages were provided by the GraphQL server:

    INTERNAL_SERVER_ERROR: Variable "$input" got invalid value null at
        "input.states[0].task_run_id"; Expected non-nullable type UUID! not to be null.

The GraphQL query was:

    mutation($input: set_task_run_states_input!) {
            set_task_run_states(input: $input) {
                states {
                    status
                    message
                    id
            }
        }
    }

The passed variables were:

    {"input": {"states": [{"state": {"message": "Starting task run.", "cached_inputs": {}, "context": {"tags": []}, "_result": {"__version__": "0.14.6", "type": "NoResultType"}, "__version__": "0.14.6", "type": "Running"}, "task_run_id":
 null, "version": null}]}}
locally and also with the local agent on the ui server it's working.
I saw, that this error also occures with others. Maybe a recreate of the tenant will help...
z
Hi @Michael Hadorn, is this error occurring reproducibly/consistently?
m
yes. but only in the docker enviroment
z
Could you provide us with the flow/code that's causing this?
m
and I run several times the same kind of task. but only the 4 last one crashes.
hm. maybe i should create a minimal example. it's quite big...
z
That'd be really helpful for us 🙂
m
also the flow is not stopping.
z
What docker image are you running the flow in?
m
Copy code
prefecthq/prefect:0.14.6-python3.8
z
👍 makes sense -- just wanted to check if there was something weird
m
ok, after resetting the ui (delete the volume) this error is not reappearing. i have no idea. But is solved for now for me. thx for looking at it.
1