def METHOD_NAME(client, monkeypatch, helpers, elasticsearch_award_index, disaster_account_data):
    setup_elasticsearch_test(monkeypatch, elasticsearch_award_index)
    resp = helpers.post_for_spending_endpoint(client, url, award_type_codes=["ZZ", "08"], def_codes=["L", "M"])
    assert resp.status_code == status.HTTP_400_BAD_REQUEST
    assert resp.data["detail"] == "Field 'filter|award_type_codes' is outside valid values ['07', '08']"