Urgent.News

What's breaking now, across thousands of outlets.

Tech

Supabase Storage upload fails with "new row violates row-level security policy"? Here's the fix

Your app tries to upload a file to Supabase Storage, and the request fails with one of these: new row violates row-level security policy StorageApiError: new row violates row-level security policy Unauthorized Supabase Storage refuses every upload until the storage.objects table has policies that allow it. The fix: add an INSERT policy for the bucket, scoped to the user's own folder, and add…

Supabase Storage uploads fail due to row-level security (RLS) policies. The error message is "new row violates row-level security policy." StorageApiError appears when the app tries to upload a file and the request is rejected. The fix involves creating INSERT policies for the storage.objects table, scoped to the user's own folder. These policies ensure the upload passes upsert: true, and a SELECT policy allows the app to read the user's own files.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why my period tracker predicts a window, not a single day

A period tracker that tells you "your next period starts March 14" is lying to you. Not maliciously — just mathematically. Cycle length varies.

  • Mori app predicts menstrual cycle range, not single date
  • Midpoint of range is best estimate, surrounding range shows uncertainty
  • App uses personal cycle history, no crowd data or models

Saudi Oil Giant Backs Local Computer Hubs To Keep Work Home

Aramco bought 49% of Saudi AI company Humain for $2.6 billion, backing a plan to build giant data centers by 2030 that could keep more of the kingdom's AI work at home. Key Takeaways Aramco took a 49% stake in Humain and contributed about $2.6 billion in cash and AI assets while PIF retained 51% The transaction is complete and ties…

  • Saudi Aramco invests $2.6B in Humain AI company
  • PIF backs 49% stake acquisition for domestic AI ecosystem
  • Target 3GW AI data center capacity by 2030

More from Monday 2 November →