def METHOD_NAME(
    make_organization_and_user_with_plugin_token,
    make_user,
    make_schedule,
    make_escalation_chain,
    make_alert_receive_channel,
    make_alert_group,
    make_user_auth_headers,
):
    organization, user, token = make_organization_and_user_with_plugin_token(role=LegacyAccessControlRole.EDITOR)
    escalation_chain_to_page = make_escalation_chain(organization)
    alert_receive_channel = make_alert_receive_channel(organization)
    alert_group = make_alert_group(alert_receive_channel)
    client = APIClient()
    url = reverse("api-internal:direct_paging")
    response = client.post(
        url,
        data={
            "escalation_chain_id": escalation_chain_to_page.public_primary_key,
            "alert_group_id": alert_group.public_primary_key,
        },
        format="json",
        **make_user_auth_headers(user, token),
    )
    assert response.status_code == status.HTTP_400_BAD_REQUEST