https://supabase.com/ logo
#help
Title
# help
k

kleak

04/02/2022, 11:58 AM
Hi when I try to sign up I got an error
type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast
In the log I got a 422 http status code.
n

Needle

04/02/2022, 11:58 AM
Hello ! This thread has been automatically created from your message in a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
Thread was archived by . Anyone can send a message to unarchive it.
kleak (2022-04-02)
g

garyaustin

04/02/2022, 1:33 PM
You don't say, but googling and your error code seems to be related to Dart... https://www.google.com/search?client=firefox-b-1-d&q=%27Null%27+is+not+a+subtype+of+type+%27Map%3CString,+dynamic%3E%27+in+type+cast+%22supabase%22&sa=X&ved=2ahUKEwiQiYTMvfX2AhXRk2oFHZftCcAQ5t4CegQIHRAB&biw=1920&bih=955&dpr=1 The 422 error means invalid signin/up. User exists, bad password... If you can see the network response you might see the error. I believe your other error is masking the actual error response.
s

sylar815

04/02/2022, 1:53 PM
Yes it's related to dart
Can you paste the code snippet?
k

kleak

04/02/2022, 5:17 PM
For whatever reason it now work as expected 😆
The error was in supabase code not mine for sure since I just did a sign up 😅 like in the example
s

sylar815

04/02/2022, 5:20 PM
Cool,
n

Needle

04/02/2022, 5:23 PM
Thread was archived by . Anyone can send a message to unarchive it.