def METHOD_NAME(settings, requests_mock):
    settings.PLAIN_API = "https://api.plain.com/graphql/"
    requests_mock.post(
        settings.PLAIN_API,
        json={
            "data": {
                "upsertCustomTimelineEntry": {
                    "result": "NOOP",
                    "timelineEntry": None,
                    "error": {
                        "message": "There was a validation error.",
                        "type": "VALIDATION",
                        "code": "input_validation",
                        "fields": [
                            {
                                "field": "customerId",
                                "message": "ID does not match expected format",
                                "type": "VALIDATION",
                            }
                        ],
                    },
                }
            }
        },
    )
    with pytest.raises(
        PlainError,
        match="There was a validation error. customerId: ID does not match expected format",
    ):
        _send_chat("c_ABC25904A1DA4E0A82934234F2", title="wtf", message="hello world")