AvailableOSUpdates in iOS 11.3 fails with (com.apple.softwareupdateservices.errors error 3)

Originator:ppetrov.mp
Number:rdar://39170807 Date Originated:04-Apr-2018
Status:Closed Resolved:
Product:iOS Product Version:11.3 / 11.4 Beta
Classification:Bug Reproducible:Always
 
Area:
MDM

Summary:

In iOS 11.3 as well as in 11.4 Beta the MDM command AvailableOSUpdates returns an ErrorCode=3 when no OS updates are available. 

This did not use to be the case prior to the 11.3 final release and it is also not described in the MDM documentation. It breaks our MDM solution and we have customers complaining about the errors. We are not sure if this is the intended behavior or a temporary change! The previous behavior was to return an empty property xml array signifying that there are not updates to be found.

Steps to Reproduce:

Issue an AvailableOSUpdates RequestType MDM command to a target iPhone/iPad device with iOS version 11.3 or 11.4.

Expected Results:

A status "Acknowledged" with an empty xml property array result should be returned.

Actual Results:

An error status response is returned. 
ErrorDomain=DeviceManagement.error
ErrorCode=2213
...
ErrorDomain=com.apple.softwareupdateservices.errors
ErrorCode=3

Xml excerpt:

<dict>
  <key><![CDATA[Status]]></key>
  <string><![CDATA[Error]]></string>
  <key><![CDATA[UDID]]></key>
  <string><![CDATA[<..device id omitted...>]]></string>
  <key><![CDATA[ErrorChain]]></key>
  <array>
    <dict>
      <key><![CDATA[LocalizedDescription]]></key>
      <string><![CDATA[Kein Update verfügbar.]]></string>
      <key><![CDATA[ErrorDomain]]></key>
      <string><![CDATA[DeviceManagement.error]]></string>
      <key><![CDATA[ErrorCode]]></key>
      <integer>2213</integer>
    </dict>
    <dict>
      <key><![CDATA[LocalizedDescription]]></key>
      <string><![CDATA[Der Vorgang konnte nicht abgeschlossen werden. (com.apple.softwareupdateservices.errors-Fehler 3.)]]></string>
      <key><![CDATA[ErrorDomain]]></key>
      <string><![CDATA[com.apple.softwareupdateservices.errors]]></string>
      <key><![CDATA[ErrorCode]]></key>
      <integer>3</integer>
    </dict>
  </array>
  <key><![CDATA[CommandUUID]]></key>
  <string><![CDATA[<...uuid omitted...>]]></string>
</dict>

Version/Build:

11.3 (15E216)
11.4 Beta (15F5037c)

Comments

Apple reply from May 22 2018

Thank you for contacting us.

The original report on this issue, Bug ID 38877494, is closed as resolved in iOS 11.4 betas.

By ppetrov.mp at May 23, 2018, 6:37 a.m. (reply...)

Apple reply from May 4 2018, 9:44 PM

Apple reply

Thank you for contacting us.

The original report on this issue, Bug ID 38877494, is still under investigation. We will notify you when it is closed. We don't provide timetables for bug fixes.

(As of May 4 2018, #38877494 seems to be closed, but no notification was sent to me up to this point.)

By ppetrov.mp at May 22, 2018, 8:35 a.m. (reply...)

Marked as duplicate by Apple's developer relations

DUP of #38877494. No further information given by Apple.

By ppetrov.mp at April 17, 2018, 7:46 a.m. (reply...)

Similar reports

Open Radar - http://www.openradar.me/27943291

Apple Forums - https://forums.developer.apple.com/message/303602

By ppetrov.mp at April 4, 2018, 10:34 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!