From 998d232ac09a9ea7301b524f93cab36d91f6fc9b 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 e9ecdea8a..561b61331 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 | | | +---------------+-------------+-------------------------------------------------------------+