Hi when I try to sign up I got an error `type 'Nul...
# help
k
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
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
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
Yes it's related to dart
Can you paste the code snippet?
k
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
Cool,
n
Thread was archived by . Anyone can send a message to unarchive it.