Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

About

supabase-error-translator-js maps Supabase error codes to user-facing messages in multiple languages. It is useful when your app receives technical error codes from Supabase Auth, Storage, Realtime, or PostgREST and needs a localized message for the UI.

The package does not call Supabase and does not depend on @supabase/supabase-js. It is a small translation registry plus a few helper functions.

This project is maintained independently. It is not officially associated with, endorsed by, or affiliated with Supabase.

Supported Languages

LanguageCode
Englishen
Arabicar
Germande
Spanishes
Frenchfr
Japaneseja
Koreanko
Polishpl
Portuguesept
Chinesezh

Supported Services

ServiceStatus
authTranslated error codes are available.
storageTranslated error codes are available.
realtimeTranslated error codes are available.
databasePostgreSQL and PostgREST error codes are available.
functionsThe service is accepted by the API, but translations are currently empty. Unknown fallback text is returned.

What The Package Returns

The package returns strings, not rich error objects. It intentionally keeps the public API simple so callers can use the result in React, Next.js, Node.js, or any browser-bundled application.