fugu
04/19/2022, 10:37 PMupdate()
call to work; I make this call:
js
const { profileData, error } = supabase
.from('profiles')
.update({ 'username': emailUsername(user.email) })
.eq('id', user.id)
And I get a 404 response:
json
{
error: [],
data: null,
count: null,
status: 404,
statusText: 'Not Found',
body: null
}
Even though user.id
in my request exactly matches an id in a row in my profiles table.Needle
04/19/2022, 10:37 PM/title
command!
We have solved your problem?
Click the button below to archive it.fugu
04/19/2022, 10:40 PMsupabase.from('profiles').select('id')
I get this:
json
{
error: null,
data: [
{ id: '594f5d1d-eb4a-4508-8638-65d0437219c9' },
{ id: '45163b0c-eca5-4fb2-a71f-999a8342fad0' }
],
count: null,
status: 200,
statusText: 'OK',
body: [
{ id: '594f5d1d-eb4a-4508-8638-65d0437219c9' },
{ id: '45163b0c-eca5-4fb2-a71f-999a8342fad0' }
]
}
Which are the two entries in my profiles table, including one with an id that exactly matches.fugu
04/19/2022, 10:52 PMNeedle
04/19/2022, 11:19 PMNeedle
04/19/2022, 11:59 PMgaryaustin
04/20/2022, 12:08 AMfugu
04/20/2022, 12:58 AMfugu
04/20/2022, 12:59 AMNeedle
04/20/2022, 12:59 AM