On sign up, I’m trying to call the supabase UPDATE function to update the user_type column inside of public.users
After the signup function fires successfully, I call the UPDATE function and get this error:
name: “Error”
stack: “Error: None of these media types are available: application/vnd.pgrst.plan+text; for=“application/json”; options=analyze|verbose|settings|buffers|wal at Object.update (https://cdn.weweb.io/components/f9ef41c3-1c53-4857-855b-f2f6a40b7186/cbf0fa51-0d70-4b1a-9cbe-faaac964c494/dist/manager.js:1:223715) at async S (https://editor-cdn.weweb.io/public/js/index.a50a95e3.js:1:426259)”
message: “None of these media types are available: application/vnd.pgrst.plan+text; for=“application/json”; options=analyze|verbose|settings|buffers|wal”
cause
code: “PGRST107”
details: null
hint: null
message: “None of these media types are available: application/vnd.pgrst.plan+text; for=“application/json”; options=analyze|verbose|settings|buffers|wal”
Any suggestions on what I’m doing wrong?