-
Hi, I am just starting out with supabase. I want to insert data into postgres from a trusted server periodically. I am using the supabase-js client. I gave it my const { data, error } = await supabase.from('movies').insert([row_data]) results in this error: {
data: null,
error: {
hint: null,
details: null,
code: '42P01',
message: 'relation "public.movies" does not exist'
}
} The table does exist, and all I did was copy the commands given to me on this page |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @andykais, On what schema did you create your If you chose a schema different than const supabase = createClient(URL, KEY, {schema: OTHER}); |
Beta Was this translation helpful? Give feedback.
-
oh good lord that was dumb. |
Beta Was this translation helpful? Give feedback.
oh good lord that was dumb.
movies
should have beenmovie
. Crisis averted. Thanks for the help anyways 😅