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-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.

رموز أخرى من Postgres (قاعدة البيانات)