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

Signup Mutation throwing error #2203

Closed
Azad99-9 opened this issue Apr 14, 2024 · 3 comments
Closed

Signup Mutation throwing error #2203

Azad99-9 opened this issue Apr 14, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Azad99-9
Copy link

Azad99-9 commented Apr 14, 2024

Describe the bug
When trying to signup into the mobile application using the below mutation

mutation SignUp($data: UserInput!) {
  signUp(data: $data) {
    appUserProfile{
              adminFor{
                _id
                name
              }
              createdOrganizations{
                _id
                name
                image
                description
                userRegistrationRequired
                creator{
                  _id
                  firstName
                  lastName
                  image
                }
              }
            }
            user{
                _id
                firstName
                lastName
                email
                image
                joinedOrganizations{
                  _id
                  name
                  image
                  description
                  userRegistrationRequired
                  creator{
                    _id
                    firstName
                    lastName
                    image
                  }
                }
                membershipRequests{
                  organization{
                    _id
                    name
                    image
                    description
                    userRegistrationRequired
                    creator{
                      _id
                      firstName
                      lastName
                      image
                    }
                  }
                }
              }
              refreshToken
              accessToken
  }
}

I am getting this error
Screenshot from 2024-04-14 08-35-29

To Reproduce
Steps to reproduce the behavior:

  1. Use the above-mentioned mutation
  2. Signup with a fresh account

Expected behavior
The user should be signed up without any errors.

Actual behavior
The account is being created but throwing errors.

Screenshots
Screencast from 14-04-24 07:30:12 PM IST.webm

Additional details
This bug is a dependency for the issue in the mobile repo
PalisadoesFoundation/talawa#2330

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359

@Azad99-9 Azad99-9 added the bug Something isn't working label Apr 14, 2024
Copy link

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@github-actions github-actions bot added the unapproved Unapproved for Pull Request label Apr 14, 2024
@meetulr
Copy link

meetulr commented Apr 14, 2024

I have fixed it, though I have two issues assigned, one is a minor fix, and the PR is ready to be merged #2204.

If this issue is urgent, please assign it to me, I can raise a PR right away.

@AVtheking
Copy link

I have also fixed it ,if @meetulr can't be assigned because of the two issues policy then I can solve it .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants