© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
10 replies
Oz

Type generation error

Hello!

I'm trying to generate types for one of my projects via CLI but it throws error:

failed to retrieve generated types: {"message":"failed to determine PostgREST version for project <my_project_id>: {\"code\":\"PGRST126\",\"details\":null,\"hint\":null,\"message\":\"Root endpoint metadata is disabled\"}"}
failed to retrieve generated types: {"message":"failed to determine PostgREST version for project <my_project_id>: {\"code\":\"PGRST126\",\"details\":null,\"hint\":null,\"message\":\"Root endpoint metadata is disabled\"}"}


It works for my other project though.

Any help?

Thank you!
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

Type generation for Kotlin
SupabaseSSupabase / help-and-questions
6mo ago
Incorrect typescript type generation
SupabaseSSupabase / help-and-questions
13mo ago
CLI type generation and UUIDs
SupabaseSSupabase / help-and-questions
5mo ago
Supabase type generation not working
SupabaseSSupabase / help-and-questions
4y ago