© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
2 replies
LakshayGMZ

database types generation error

PostgREST🟡javascript🟢SQL
bunx supabase gen types --project-id <project id here> > database.types.ts
bunx supabase gen types --project-id <project id here> > database.types.ts

gives me
{"message":"{\"message\":\"Legacy API keys are disabled\",\"hint\":\"Your legacy API keys (anon, service_role) were disabled on 2025-10-04T17:49:38.838785+00:00. Re-enable them in the Supabase dashboard, or use the new publishable and secret API keys.\"}"}
{"message":"{\"message\":\"Legacy API keys are disabled\",\"hint\":\"Your legacy API keys (anon, service_role) were disabled on 2025-10-04T17:49:38.838785+00:00. Re-enable them in the Supabase dashboard, or use the new publishable and secret API keys.\"}"}
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Runtime types generation
SupabaseSSupabase / help-and-questions
6mo ago
Type generation error
SupabaseSSupabase / help-and-questions
4mo ago
database error
SupabaseSSupabase / help-and-questions
4mo ago
Generating TypeScript types for remote database
SupabaseSSupabase / help-and-questions
4y ago