I did some testing locally with claude code and found this
"
The UPSERT action works for inserts but fails silently for updates. Looking at the requests, it’s
missing the required Supabase UPSERT parameters.
Current request:
POST /rest/v1/table?select=*
Should be:
POST /rest/v1/table?on_conflict=id&select=*
Prefer: resolution=merge-duplicates
[{…}] // array format
The plugin needs both:
on_conflict=id parameter
Prefer: resolution=merge-duplicates header (currently defaults to ignore-duplicates)
"
Thank you so much for sharing this detailed information!
We really appreciate the insight you’ve provided. To help us replicate this on our side and work on a fix, could you kindly share more details on the exact action or workflow that is causing this issue? It would be helpful to know where the problem specifically arises so we can pinpoint the issue.
Looking forward to your response, and we’ll be happy to assist further!
Oh yes I think it’s becasue there are permsision settings in the schema itself that needs to be handled. I had to use AI to help me with the SQL to get that soprted as it’s not a supabase gui thing.
BTW, if you don’t need it to be in a new schema I would try keep as much as possible in the public schema, it’s much simpler that way.
It’s pretty easy to get an AI to move that table to public again.
Thanks for providing the details and your investigation on this!
We’ve forwarded all the information to our dev team for further investigation. They’ll take a closer look at the UPSERT action and ensure that the correct parameters are applied for updates. We’ll keep you updated as soon as we have more insights or a resolution.
@ZeroqodeSupport since yesterday I start to have this problem with Generate JWT action.
It is more than 12 hours my users can’t access my platform and I don’t know how to fix. I’m talking with Bubble support because I think it’s a problem on their side (it all started from one moment to the next, without any change), but they’re not helping me much. Do you guys know anything about that? If yes, please tell me, it’s very urgent. Thanks.
@ZeroqodeSupport have you guys had a chance to look into this? I have a lot of work right now that requires upsert rather than separate calls. Is there a eta on when you can look at this?
Hi- Quick question; I was able to fix all the permission issue and send a JSON payload to Supabse. However, when it entered Supabase, all the field values are NULL. Curious what I did wrong?
Update: I tried the payload function (vs. json payload) and the payload is working but json one doesn’t work. From what i can debug, i can’t seem to send through a payload via json payload, but when i use the payload function, it could send it through
on the supabase end, it would register the entry but the fields where json payload box is sending would just all be NULL value
We can confirm that our dev team is already actively working on the issue with the UPSERT functionality. Unfortunately, we don’t have a specific ETA at the moment, but we’ll keep you updated as soon as we have more information or a resolution.
We truly appreciate your understanding and will make sure to prioritize this.