Failed post request not recorded in logs
My app is sending a request to add an item, the request fails but the response makes no sense and I see no logs in the gateway or in the backend of Supabase.
Isnt this supposed to be logged under the API Gateway or PostgRest?
curl 'https://myproject.supabase.co/rest/v1/items?columns=%22name%22%2C%22description%22%2C%22container_id%22%2C%22location%22%2C%22human_friendly_location%22%2C%22ai_description%22%2C%22ai_entities%22%2C%22owner_id%22%2C%22is_shared%22&select=*' \
-H 'accept: application/vnd.pgrst.object+json' \
-H 'accept-language: en-GB,en;q=0.9,it-IT;q=0.8,it;q=0.7,fr;q=0.6' \
-H 'apikey: DONTREADME' \
-H 'authorization: Bearer CHEEky' \
-H 'cache-control: no-cache' \
-H 'content-profile: public' \
-H 'content-type: application/json' \
-H 'origin: https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3--5173--b980e309.local-credentialless.webcontainer-api.io' \
-H 'pragma: no-cache' \
-H 'prefer: return=representation' \
-H 'priority: u=1, i' \
-H 'referer: https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3--5173--b980e309.local-credentialless.webcontainer-api.io/' \
-H 'sec-ch-ua: "Google Chrome";v="137", "Chromium";v="137", "Not/A)Brand";v="24"' \
-H 'sec-ch-ua-mobile: ?1' \
-H 'sec-ch-ua-platform: "Android"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36' \
-H 'x-client-info: supabase-js-web/2.50.0' \
--data-raw '[{"name":"Draft Item","location":{"type":"Point","coordinates":[0,0]},"human_friendly_location":"Location not detected","ai_description":"Draft Item stored in Draft item","ai_entities":[],"owner_id":"eed8715f-466c-4441-bf04-d3e78831efc3","is_shared":false}]'curl 'https://myproject.supabase.co/rest/v1/items?columns=%22name%22%2C%22description%22%2C%22container_id%22%2C%22location%22%2C%22human_friendly_location%22%2C%22ai_description%22%2C%22ai_entities%22%2C%22owner_id%22%2C%22is_shared%22&select=*' \
-H 'accept: application/vnd.pgrst.object+json' \
-H 'accept-language: en-GB,en;q=0.9,it-IT;q=0.8,it;q=0.7,fr;q=0.6' \
-H 'apikey: DONTREADME' \
-H 'authorization: Bearer CHEEky' \
-H 'cache-control: no-cache' \
-H 'content-profile: public' \
-H 'content-type: application/json' \
-H 'origin: https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3--5173--b980e309.local-credentialless.webcontainer-api.io' \
-H 'pragma: no-cache' \
-H 'prefer: return=representation' \
-H 'priority: u=1, i' \
-H 'referer: https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3--5173--b980e309.local-credentialless.webcontainer-api.io/' \
-H 'sec-ch-ua: "Google Chrome";v="137", "Chromium";v="137", "Not/A)Brand";v="24"' \
-H 'sec-ch-ua-mobile: ?1' \
-H 'sec-ch-ua-platform: "Android"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36' \
-H 'x-client-info: supabase-js-web/2.50.0' \
--data-raw '[{"name":"Draft Item","location":{"type":"Point","coordinates":[0,0]},"human_friendly_location":"Location not detected","ai_description":"Draft Item stored in Draft item","ai_entities":[],"owner_id":"eed8715f-466c-4441-bf04-d3e78831efc3","is_shared":false}]'Isnt this supposed to be logged under the API Gateway or PostgRest?