I'm struggling to push an mdm profile to my mac: -...
# fleet
j
I'm struggling to push an mdm profile to my mac: • installing the profile manually on a system works: I can go to system profiles, and add the .mobileconfig file there, and install it • but when it's installed via fleet, it has an error:
NSCocoaErrorDomain (3840): Unexpected character 0 at line 1
Googling that error it seems to be about malformed JSON? I'm not sure how to see e.g. a stack trace from orbit/fleetd
g
Hey @James, What version of Fleet are you on? There was a fix pushed for profiles larger than 64kb in 4.52.0. Are you able to share the profile? (with redacted tokens/info)
j
I just updated to 4.53.0 and same issue
Have DM'd you the profile
g
Greetings @James, Seeing some odd characters/whitespace in the profile- Interestingly, it adds fine locally for you. Think Fleet is not able to parse the characters with it being signed. Fleet does support signed and unsigned profiles.
j
Those are/(were?) newlines (\n). They seem to work when importing!
Will remove them and try again
Looking in my hex editor, apparently they're unicode "line separator" characters
No luck changing that field
I note that when you upload an mdm profile it says ".mobileconfig or .json".... is it perhaps getting confused somewhere and using the wrong type?
@Grant Bilstad ping? Any idea on this one?
g
Hey @James, Going to start an issue in our repo in a bit. Have another client that is running into this. Thanks again for sharing the profile, will help engineering try to debug this. Are you able to test the profile as unsigned? (Fleet should still support signed profiles)
b
Hey gang! Was this ever solved? I'm getting this issue on signed profiles on Fleet v4.57.0