From 8ef1a50086b4848b3fe310eef9861c1dad954a56 Mon Sep 17 00:00:00 2001 From: Mubelotix Date: Tue, 5 Aug 2025 10:42:39 +0200 Subject: [PATCH] Add hint Co-Authored-By: Thomas Campistron --- crates/meilisearch/src/routes/webhooks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/meilisearch/src/routes/webhooks.rs b/crates/meilisearch/src/routes/webhooks.rs index 65aff4179..c97f2fc5f 100644 --- a/crates/meilisearch/src/routes/webhooks.rs +++ b/crates/meilisearch/src/routes/webhooks.rs @@ -203,7 +203,7 @@ enum WebhooksError { MissingUrl(Uuid), #[error("Defining too many webhooks would crush the server. Please limit the number of webhooks to 20. You may use a third-party proxy server to dispatch events to more than 20 endpoints.")] TooManyWebhooks, - #[error("Too many headers for the webhook `{0}`. Please limit the number of headers to 200.")] + #[error("Too many headers for the webhook `{0}`. Please limit the number of headers to 200. Hint: To remove an already defined header set its value to `null`")] TooManyHeaders(Uuid), #[error("Webhook `{0}` is immutable. The webhook defined from the command line cannot be modified using the API.")] ImmutableWebhook(Uuid),