SupabaseS
Supabase12mo ago
Bubu

Egress quota and INSERT

I exceeded my free plan egress quota due to a misimplementation of a queue reading. I fixed it now, but my program seems to hang on INSERT operations.

Should this Python code handle potential errors due to quota exceeded?

message_response = await supabase.table('messages').insert(message_data).execute()
if not message_response.data:
    logger.error(f"Error when inserting message: {message_response.error}")
Was this page helpful?