From 1b4856b6ddea428af597aa9a5012815cb962ae94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C5=82eczek?= Date: Tue, 26 May 2026 18:35:08 +0200 Subject: [PATCH] docs: PGRST107 error should map to 406 not to 415 --- docs/references/errors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/references/errors.rst b/docs/references/errors.rst index e9ecdea8a0..561b61331e 100644 --- a/docs/references/errors.rst +++ b/docs/references/errors.rst @@ -199,7 +199,7 @@ Related to the HTTP request elements. | | | :ref:`switching schemas ` is not present | | PGRST106 | | in the :ref:`db-schemas` configuration variable. | +---------------+-------------+-------------------------------------------------------------+ -| .. _pgrst107: | 415 | The ``Content-Type`` sent in the request is invalid. | +| .. _pgrst107: | 406 | The ``Accept`` media type sent in the request is invalid. | | | | | | PGRST107 | | | +---------------+-------------+-------------------------------------------------------------+