Closed gernb014 closed 6 years ago
Interesting, I wonder if it's an issue with the group ID and not actually the serial. If you turn on advanced debugging under the Settings menu at the top, what do you see?
The ID you should be grabbing will come after ?id= followed by a relatively short numeric number, which increments with every new group you create. This is in the URL immediately after going to a static group (not necessarily "view"ing the contents of it. just go to Static Mobile Device Groups > Click your group > go to URL)
Example:
Open and shut case. That was the problem. I was going Static Mobile->Open Group->View then grabbing from the URL. Instead just Static Mobile->Open Group grab from URL. Thank you very much.
The only thing that kinda threw me was Literally the word viewing. Classic case of user error. Thank you for your quick help and response. Great product. I hope you are making some moolah off of this somehow
It may be a case of user error, but it's also a case of poor documentation. I'll get the verbiage in the message updated, that's great feedback.
Thanks!
Hi Mike,
I know this is a closed issue, but I also am getting an error that the device serial number is not found when in fact it is correct. Is this an issue of the error message not matching the actual problem.
Device (valid_serial_number) - Failed! - 404!
HTTP 404 means 'not found'. There is no device with serialnumber (valid_serial_number) enrolled in Jamf Pro.
Full Response Data:
Status page Not Found
The server has not found anything matching the request URI
You can get technical details here.
Please continue your visit at our home page.
Are you attempting to update the membership of a static group?
If so, it is a cosmetic/messaging issue. The endpoint it is actually hitting is the group endpoint, and then the serial is in the XML. It is saying that the static group does not yet exist.
You must first manually create a static group, and then populate the CSV with the ID of the static group in Column B.
I'll work on a 4.2 with improved messaging on this subject.
Hi Mike,
Yes, I was trying to use the static group name instead of ID which triggered the error saying the serial number is invalid. I just wanted to remind you the error message is still misleading. (Once I changed to static group IDs, this function worked as expected.)
Thanks for the awesome work! Brian
Greetings Mike- I am getting the issue with the other guy that never got back to you. Serial numbers for sure are correct. For the ID after creating the group I went to view and copied the uuid Just starting with a small tester with 3 devices. Here's the output:
I know serial numbers, and Static Group is made (might not be grabbing correct ID? I notice it changes when I reopen in different window), file is in a Windows Comma, and using full access admin