diff --git a/duniterpy/api/endpoint.py b/duniterpy/api/endpoint.py
index a3a37c302eb63820a64d14ea75fa8b6ea6038381..50833ab528e3b76a77ea18989824972edaef436b 100644
--- a/duniterpy/api/endpoint.py
+++ b/duniterpy/api/endpoint.py
@@ -130,12 +130,6 @@ class UnknownEndpoint(Endpoint):
         return hash((self.api, self.properties))
 
 
-ERROR_SCHEMA = {
-    "type": "object",
-    "properties": {"ucode": {"type": "number"}, "message": {"type": "string"}},
-    "required": ["ucode", "message"],
-}
-
 # required to type hint cls in classmethod
 BMAEndpointType = TypeVar("BMAEndpointType", bound="BMAEndpoint")