ReEnroller icon indicating copy to clipboard operation
ReEnroller copied to clipboard

mismatched tag at line 10, column 2, byte 404:

Open AxeKR opened this issue 6 months ago • 7 comments

Hello,

i have tried to run the tool with api client. but it throws an error. the response suggests that a site is being called that does not return the correct response? Or have I overlooked something?

mismatched tag at line 10, column 2, byte 404:

Mon Mar 31 11:56:07 XXX-22-L0607.xxxxx.de [ReEnroller]:    command result: Checking for policies triggered by "apiMDM_remove" for user "username"...
Executing Policy apiMDM_remove
Submitting log to https://jamf.xxx.de:8443/
Executing Policy apiMDM_remove Script
Running script apiMDM_remove...
Script exit code: 0
Script result: computer UUID: A0D31007-2D55-54FB-B421-FE81F064EA51
get computer ID: curl -m 20 -s https://jamf.xxxx.de/JSSResource/computers/udid/A0D31007-2D55-54FB-B421-FE81F064EA51/subset/general -H "Accept: application/xml" -H "Authorization: Bearer ..."

mismatched tag at line 10, column 2, byte 404:
<p>You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2">here</a>.<br>
	Please continue your visit at our <a href="/">home page</a>.
</p>
=^
</body>
</html>
 at /System/Library/Perl/Extras/5.34/darwin-thread-multi-2level/XML/Parser.pm line 187.
computer ID: 
unmanage machine: curl -m 20 -s https://jamf.xxxxx.de/JSSResource/computercommands/command/UnmanageDevice/id/ -X POST -H "Authorization: Bearer ..."
<html>
<head>
	<title>Status page</title>
</head>
<body style="font-family: sans-serif;">
<p style="font-size: 1.2em;font-weight: bold;margin: 1em 0px;">Unauthorized</p>
<p>The request requires user authentication</p>
<p>You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2">here</a>.<br>
	Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>

Submitting log to https://jamf.xxxx.de:8443/

AxeKR avatar Mar 31 '25 10:03 AxeKR