From 73b6379989b39b4ed302e03f364f2877ddfc5bf0 Mon Sep 17 00:00:00 2001 From: Andy Ford Date: Wed, 16 Oct 2024 17:12:48 +0100 Subject: [PATCH] rules: add before publish rule error codes --- protocol/errors.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocol/errors.json b/protocol/errors.json index f9d4eed..7dd5111 100644 --- a/protocol/errors.json +++ b/protocol/errors.json @@ -90,6 +90,9 @@ "41001": "push device registration expired", "42200": "Unprocessable entity", + "42210": "content rejected (unspecified)", + "42211": "content rejected by before publish rule", + "42212": "content rejected by validation", "42910": "rate limit exceeded (nonfatal): request rejected (unspecified)", "42911": "max per-connection publish rate limit exceeded (nonfatal): unable to publish message",