25006
מה אומרת שגיאת Postgres (מסד הנתונים) הזאת
איך זה מופיע
cannot execute INSERT in a read-only transaction
מה זה אומר
SQLSTATE 25006 is read_only_sql_transaction: the database only accepts reads right now, so writes fail. On Supabase this code appears when the project has entered read-only mode because of its disk or database size.
הסיבה הנפוצה באפליקציה שנבנתה עם AI
AI-built apps sometimes store images or files as base64 text in table rows, or write a log row on every request. The database grows until a Free Plan project passes its 500 MB database size quota and turns read-only.
בדקו את זה קודם
Open the database usage in your Supabase project dashboard and check whether the database size is at or above your plan's limit.