-
-
Notifications
You must be signed in to change notification settings - Fork 201
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 update organization after adding tag #109
Comments
@AlexisVZ can you update any information in the organization? i get 422 unprocessable entry no matter what |
Hello Mike, Yes I can, but only after the change illustrated in attached screenshot: [cid:[email protected]] Good luck ! From: Mike Olsen [mailto:[email protected]] @AlexisVZhttps://github.com/AlexisVZ can you update any information in the organization? i get 422 unprocessable entry no matter what — |
I see no attached screenshot [cid:[email protected]], but I need help with this exact problem. Thanks. |
Yea same. I figured it out, you can't reuse the Organization object response. I had to build a new one, copy the attributes over (the one I wanted to change) and send that with the request. Not impressed with this API or library after using it for several months now. |
Thanks for the quick response!!! I'll try that. I've also found that if you send the JSON over with: /{org id}/tags.json "{"tags":["claims","eligibility","statements"]}" that it works just fine! The same holds true for CustomFields as well. None of this supported by this API wrapper of course. I had to futz the JSON before the request was sent. |
Will look at ways to make this better. Please post any ideas for ways we can make this better for every one. |
I'm unable to reproduce this issue using the latest code. The following code executes just fine:
|
@StephenMP Would you please submit a pull request adding your code as a test case? I am going to close this issue at this time. if more information becomes available we can reopen. |
Hallo,
I have code for updating an organization which runs fine. Thanks Erik !.
But now I tried to add a tag to an organization by adding the following code (VB.net), before the UpdateOrganization method:
Dim Tag As New ZendeskApi_v2.Models.Tags.Tag
Tag.Name = "MM"
Organization.Tags.Add(Tag)
api.Organizations.UpdateOrganization(Organization)
But after adding this code I receive the following error upon calling UpdateOrganization: "The remote server returned an error: (400) Bad Request."
Any help much appreciated.
Alexis
The text was updated successfully, but these errors were encountered: