def METHOD_NAME(run_line, add_flow_login):
    # setup test requirements for success to ensure that the test won't be sensitive to
    # the order in which checks which happen
    # (e.g. login check happening before the input shape check)
    response = load_response("flows.run_flow")
    flow_id = response.metadata["flow_id"]
    add_flow_login(flow_id)
    result = run_line(
        ["globus", "flows", "start", flow_id, "--input", json.dumps(["foo", "bar"])],
        assert_exit_code=2,
    )
    assert "Flow input must be a JSON object" in result.stderr