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

CreateAsync method of UserResource returns 422 #89

Open
harsheet opened this issue Sep 12, 2017 · 5 comments
Open

CreateAsync method of UserResource returns 422 #89

harsheet opened this issue Sep 12, 2017 · 5 comments

Comments

@harsheet
Copy link

harsheet commented Sep 12, 2017

CreateAsync method of UserResource always return 422 even when the user is created on Zendesk. Can someone help with this?

Thanks

@EmmanuelAtx
Copy link

have you tried with our pull request? For us, all requests needed to be inside a wrapper class.
#87
{"identity":{"id": ... }}
When examined with fiddler, we found out that the first part was missing:
{"identity":{

@harsheet
Copy link
Author

I checked the branch and I think its only fixed for Identity, but I was using CreateAsync of UserResource that needs to be inside a User wrapper. Like this -

{"user":{"name": "Roger12 Wilco", "email": "roge12@yahoo.com"}}

@EmmanuelAtx
Copy link

Indeed, we haven't time to fix the whole project. So we just did what we need. We already found the bug. We hope someone will have the time to fix this in the whole project, so many people can enjoy the fix :-)

@harsheet
Copy link
Author

yes indeed :)

@mikerogers123
Copy link
Contributor

Hi @harsheet, is this still an issue for you? I am conscious this issue is 5 years old and there have been many versions introduced since then

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

3 participants