benawad / benawad/codeponder

Unable to register for expert

Open
#294 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
282
Forks
45
PR merge metrics
No merged PRs in 30d

Description

On this page https://www.codeponder.com/register
This error shown in the console when forms are filled and create account clicked:

`Error: GraphQL error: Cannot read property 'includes' of undefined `

the post data:

```
{
"operationName": "RegisterMutation",
"variables": {
"input": {
"username": "qweee",
"email": "myemail@gmail.com",
"password": "qweee"
}
},
"query": "mutation RegisterMutation($input: RegisterInput!) {\n register(input: $input) {\n errors {\n path\n message\n __typename\n }\n __typename\n }\n}\n"
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure on https://www.codeponder.com/register with the shown username, email, and password, then inspect the RegisterMutation request and its returned error. Trace the registration entry point from the page and verify that account creation completes without the `includes` error and the mutation returns no registration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, react, typescript
Domain
api, authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.