jamf / mut

MIT License
133 stars 11 forks source link

JSS 409! Error Code #3

Closed gernb014 closed 6 years ago

gernb014 commented 6 years ago

I keep getting the 409! error when I try to run a building update from serial numbers. The weird thing is that it works when the CSV is only 1 row but when I add anything below no dice. Another kind of weird thing I notice is that when I have multiple rows it still says "Found 1 rows in the CSV". Most likely it is a user error. Anything in the right direction would be awesome. Things I know: the building already exists, the serial numbers are in the JSS since the same one went through when I do it one by one.

screen shot 2017-07-24 at 1 56 58 pm screen shot 2017-07-24 at 1 57 28 pm
mike-levenick commented 6 years ago

Hello. Assuming you're using excel for making the CSV, try doing an export as "Windows Comma Separated (CSV)".

You can run a cat on the file in terminal with the command: cat /Users/jgernbacher/Desktop/Test 1.csv which will tell you how the computer actually sees the contents of that file--I'm guessing it's a bit goofy. We see that sometimes with files exported from Excel. Seems to be hit or miss.

Otherwise, do any of your other building titles have commas in them? That will make MUT freak out.

gernb014 commented 6 years ago

Closed in 9 minutes! That was the trick! Thanks Mike for jumping on this so quick! Your product is amazing.

mike-levenick commented 6 years ago

I'm assuming it was the Windows Comma Separated that did it?

Glad to hear it!

gernb014 commented 6 years ago

Yes. Just dropped it down to the WCS instead of CSV. Thank you!

mike-levenick commented 6 years ago

Excellent, glad to hear it. Have a great day!