def METHOD_NAME(client):
    """Verify error on bad autocomplete
    request for budget function."""
    resp = client.post(ENDPOINT, content_type="application/json", data=json.dumps({"filters": {}}))
    assert resp.status_code == status.HTTP_422_UNPROCESSABLE_ENTITY