Traceback (most recent call last):
  File "C:\Users\Степаан\PycharmProjects\work\worklib\graphql_client.py", line 176, in execute_graphql
    with urllib.request.urlopen(req, timeout=timeout_s) as resp:
         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Степаан\AppData\Local\Python\pythoncore-3.14-64\Lib\urllib\request.py", line 187, in urlopen
    return opener.open(url, data, timeout)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Степаан\AppData\Local\Python\pythoncore-3.14-64\Lib\urllib\request.py", line 493, in open
    response = meth(req, response)
  File "C:\Users\Степаан\AppData\Local\Python\pythoncore-3.14-64\Lib\urllib\request.py", line 602, in http_response
    response = self.parent.error(
        'http', request, response, code, msg, hdrs)
  File "C:\Users\Степаан\AppData\Local\Python\pythoncore-3.14-64\Lib\urllib\request.py", line 531, in error
    return self._call_chain(*args)
           ~~~~~~~~~~~~~~~~^^^^^^^
  File "C:\Users\Степаан\AppData\Local\Python\pythoncore-3.14-64\Lib\urllib\request.py", line 464, in _call_chain
    result = func(*args)
  File "C:\Users\Степаан\AppData\Local\Python\pythoncore-3.14-64\Lib\urllib\request.py", line 611, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "Pass_request\features\environment.py", line 49, in after_scenario
    fn()
    ~~^^
  File "C:\Users\Степаан\PycharmProjects\work\Pass_request\testdata\pass_request_test_data.py", line 1439, in _cleanup_delete_pass
    _exec_or_fail(op_name="deletePass", token=token, query=delete_mutation, variables={"id": pass_id}, company_id=self.company_id)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Степаан\PycharmProjects\work\Pass_request\testdata\pass_request_test_data.py", line 30, in _exec_or_fail
    return execute_graphql(
        query=query,
    ...<2 lines>...
        access_token=token,
    )
  File "C:\Users\Степаан\PycharmProjects\work\worklib\graphql_client.py", line 180, in execute_graphql
    raise RuntimeError(f"GraphQL HTTP {e.code}: {body}") from e
RuntimeError: GraphQL HTTP 400: {"errors":[{"message":"Unknown argument \"id\" on field \"Mutation.deletePass\".","code":"Server Error","status":500,"description":"The server encountered an unexpected condition which prevented it from fulfilling the request"},{"message":"Field \"deletePass\" argument \"pass_id\" of type \"String!\" is required, but it was not provided.","code":"Server Error","status":500,"description":"The server encountered an unexpected condition which prevented it from fulfilling the request"}]}

