Clearing activation lock returns 404

For the past 2+ years I have been using the same process/code to enable and disabling/clearing activation lock from a device and since last week trying to clear the code is returning a 404 error response:


<head>
    <title>404 Not Found</title>
</head>

<body>
    <center>
        <h1>404 Not Found</h1>
    </center>
    <hr>
    <center>Apple</center>
</body>

</html>

I can confirm that the request looks ok and all the necessary params are being sent as expected.

Answered by cruiz1391 in 738939022

This https://deviceservices-external.apple.com/deviceservicesworkers/escrowKeyUnlock is the address of the web resource as per https://developer.apple.com/documentation/devicemanagement/device_assignment/activation_lock_a_device/creating_and_using_bypass_codes

What code are you running? What's the address of the web resource? This is a 404 error, so it's not a code issue; it's a web issue - the resource cannot be found. What can we do about it?

Also, please use correct tags for your query. iPadOS, macOS, iPhone and Enterprise are not really appropriate tags for your issue.

Have you solved it? We also encountered the same problem. We fed back to Apple support via email, but we didn't get any reply.

Accepted Answer

This https://deviceservices-external.apple.com/deviceservicesworkers/escrowKeyUnlock is the address of the web resource as per https://developer.apple.com/documentation/devicemanagement/device_assignment/activation_lock_a_device/creating_and_using_bypass_codes

Could you please tell me how to pass parameters when calling escrowKeyUnlock? Is there any special operation required? It seems that I am passing parameters according to the API requirements, but I keep getting the "No entry found for device" error message.

Clearing activation lock returns 404
 
 
Q