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?
8 Replies
If your apikey and url are correct then it will show in the api gateway log with or without error. Not really sure the PostgREST logs do anything.
unfortunately it is no there. they key and url are definitely correct else i wont even get the error back
i dont see any post requests on the gateway logs
never mind maybe got it
is the response supposed to be visible there?
not sure what to troubleshoot in this response
interesting that supabase uses kong, but in this response i see no error, how do i troubleshoot it
Any response with posgrest error in the return body?
Does items table exist?
Is RLS enabled?
yes it was working, there is something it does not like in the way the post is done now but i cant see what given that all fields required are being posted and the error returned but not logged is not related to the items table but to something else ...
the weird thing is that i dont see is that in the chrome network log i dont see the response. This comes from somewhere in the console log in the app
this is_shared is not part of items table
I see is_shared in your CURL call.
Really not sure the curl call is proper format. What is the columns= part. I don’t use the Rest client with http calls and they are hard to decipher.
electricity went down ... i ll try to reproduce again
i think i see the problem but not sure exactly why supabase complaints, it could well ignore it
the new request sends this is_shared value but this does not exist in the columns
You are asking for a column that does not exist. Postgres the db does not allow that.
yes, i m not sure what introduced that
it is fixed, but now it is not accepting coordinates 😦
it used to work before