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

Error creating a user RequestError: Invalid JSON for Custom Fields [error-invalid-customfield-json] #76

Open
msouidi309 opened this issue Apr 27, 2018 · 1 comment

Comments

@msouidi309
Copy link

Hi, i'm trying to create a user and set a custom field, like the twitter account or something like that but it doesn't seems to work. Any problem in my json ?
Here is my variable :

var userToAdd = {
"name": "myName",
"email": "myEmail",
"password": "myPassword",
"username": "myUsername",
"sendWelcomeEmail": false,
"joinDefaultChannels": false,
"verified":false,
"requirePasswordChange":false,
"roles":["user"],
"customFields": {
"twitter": "@MyTwitter"
}
}

@MSushruth
Copy link

Facing the same issue. Has anyone found a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants