© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
4 replies
Noob

Supabase JS RC Insert returns undefined but database have result?

const { data: record, error } = await supabase
.from('Blog')
.insert({title: 'hi'}).single();

if (error) {
console.log(error);
}
console.log(record); // undefined?
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

Supabase getUser() returns undefined
SupabaseSSupabase / help-and-questions
7mo ago
Supabase database returned no results.
SupabaseSSupabase / help-and-questions
5mo ago
Supabase Database
SupabaseSSupabase / help-and-questions
4y ago
Supabase JS RC 2 - Unable to get count of rows
SupabaseSSupabase / help-and-questions
4y ago