Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Sign Up due to id non-null constraint violated #18

Closed
TechieBlossom opened this issue Jul 25, 2021 · 7 comments · Fixed by #25
Closed

Unable to Sign Up due to id non-null constraint violated #18

TechieBlossom opened this issue Jul 25, 2021 · 7 comments · Fixed by #25
Assignees
Projects

Comments

@TechieBlossom
Copy link

Describe the bug
After successful installation of app and creation of database, unable to Sign Up due to id non-null constraint violated.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Sign Up' tab
  2. Fill details - email, password and confirm password
  3. Click SignUp button
  4. See error in terminal

Expected behavior
A row must be created with newly registered profile

Screenshots
Screenshot 2021-07-25 at 2 13 32 PM

Smartphone (please complete the following information):

  • Device: iPhone12 Simulator
  • OS: iOS 14.4

Additional context
Profile table is created in Supabase

@ibhavikmakwana
Copy link
Owner

Hey sorry for the delayed response, can you share you table?
also I have Update README.md with proper query.

@TechieBlossom
Copy link
Author

TechieBlossom commented Jul 31, 2021

Here it the table structure, with latest readme. @ibhavikmakwana

Screenshot 2021-07-31 at 10 52 55 AM

Screenshot 2021-07-31 at 10 54 29 AM

@ibhavikmakwana
Copy link
Owner

Can you take the latest code now, try doing sign up again?
I think it will work now, I have update code as well.

@ibhavikmakwana ibhavikmakwana self-assigned this Jul 31, 2021
@ibhavikmakwana ibhavikmakwana added this to To do in Manch via automation Jul 31, 2021
@ibhavikmakwana ibhavikmakwana moved this from To do to In Review in Manch Jul 31, 2021
@TechieBlossom
Copy link
Author

Just took latest. 10 mints back.

@ibhavikmakwana
Copy link
Owner

ibhavikmakwana commented Jul 31, 2021

Can you see if the user authentication is happening in the Supa Base?

Goto Authentication => User

Also can you check the Settings and make sure Disable email confirmations green (i.e active)

Screenshot 2021-07-31 at 11 05 09 AM

If that's an issue looks like I have to update read me again, as I am not verifying email addresses right now.

@TechieBlossom
Copy link
Author

Yes, disable email confirmations was unchecked. I have made it checked now.
I can see my user waiting for verification. I deleted the user and retried signup. This time, I can successfully sign up and see my user in Supa Base.

Thanks.

@ibhavikmakwana
Copy link
Owner

Great, I'll update the Read Me with appropriate screen shot.
Thanks for reporting this, closing this now.

Manch automation moved this from In Review to Done Jul 31, 2021
@ibhavikmakwana ibhavikmakwana linked a pull request Jul 31, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Manch
Done
Development

Successfully merging a pull request may close this issue.

2 participants