Skip to main content

My database isn’t responding

If Bolt reports that your database is unresponsive, timing out, or having connection issues, you can restart the database to try to restore the connection. For instructions, see Restart your database. If the database is still unresponsive after restarting, contact support.

What are server functions (also called edge functions), and when should I use them?

Server functions run on the backend (or at the edge) rather than in the user’s browser or mobile app. They are useful for tasks that require extra security, reliability, or power. For example: talking to your database, checking permissions, processing payments, receiving webhooks, and generating images or Open Graph tags. Use them when you don’t want sensitive logic exposed in the client, want consistent behavior, or need low-latency HTTP endpoints. Learn more about server functions.

How do I safely use API keys or other secrets in my server functions?

Prompt Bolt or use the Secrets section to create a named secret value (such as an API key or database password), then reference it in your server function. That way, the secret stays outside your plain code and is not exposed to users.

Can I switch from Supabase to Bolt Database?

There’s currently no supported flow for migrating a Supabase database to Bolt Database.