You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pulling an existing policy with no category, or creating a new one, and then trying to .save() results in a HTTP 409 error: "Conflict/Error: Problem with category name".
It seems that Jamf has changed it so, lacking a category, a policy now has a category id of -1 and a name of "No category assigned". However, it won't accept those values when you try to PUT/update.
I imagine that this also affects other things that have categories, like Packages.
The text was updated successfully, but these errors were encountered:
Indeed, I can look for empty categories prior to the PUT, strip out the "-1/No category assigned", and THEN PUT, and it will merrily accept it, and add it back in upon GETting it again.
Also, it appears that changing the category name to "Unknown", then doing the PUT works. So I think JAMF probably forgot to change it in the code at that point. I have opened a support case with them on this issue.
Pulling an existing policy with no category, or creating a new one, and then trying to
.save()
results in a HTTP 409 error: "Conflict/Error: Problem with category name".It seems that Jamf has changed it so, lacking a category, a policy now has a category id of -1 and a name of "No category assigned". However, it won't accept those values when you try to PUT/update.
I imagine that this also affects other things that have categories, like Packages.
The text was updated successfully, but these errors were encountered: