did anything changed to API between yesterday and ...
# help
m
did anything changed to API between yesterday and now? my app suddenly doesn't work without any changes in the code. all patch(update) requests return 404 with empty array as response
n
Hello @Muphet! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
m
actually, i might have found a bug. let me trace this and submit elsewhere..
n
Thread was archived by @Muphet. Anyone can send a message to unarchive it.
m
nevermind, looks like still persists. i noticed that UPDATE doesn't work with rls enabled? thus far i've been using `role()='authenticated'::text) but also new
Copy code
CREATE POLICY "policy_name"
ON public.listings
FOR INSERT 
TO authenticated 
WITH CHECK (true);
returns same error
g
Update policy normally needs a using clause with optional with check. Edit: But I see even though you say update a couple of times, you are showing Insert policy...