def METHOD_NAME(
    sendgrid_email_plugin,
):
    plugin = sendgrid_email_plugin(active=False)
    configuration = PluginConfiguration.objects.get()
    data_to_save = {"active": True, "configuration": []}
    with pytest.raises(ValidationError):
        plugin.save_plugin_configuration(configuration, data_to_save)