<!--
{
  "availability" : [
    "iOS: 17.5.0 -",
    "iPadOS: 17.5.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AutomaticAssessmentConfiguration",
  "identifier" : "/documentation/AutomaticAssessmentConfiguration/AEAssessmentSessionDelegate/assessmentSession(_:failedToUpdateTo:error:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Automatic Assessment Configuration"
    ],
    "preciseIdentifier" : "c:objc(pl)AEAssessmentSessionDelegate(im)assessmentSession:failedToUpdateToConfiguration:error:"
  },
  "title" : "assessmentSession(_:failedToUpdateTo:error:)"
}
-->

# assessmentSession(_:failedToUpdateTo:error:)

Tells the delegate that a configuration update failed.

```
optional func assessmentSession(_ session: AEAssessmentSession, failedToUpdateTo configuration: AEAssessmentConfiguration, error: any Error)
```

## Parameters

`session`

The session that you attempted to update.

`configuration`

The configuration that you attempted to update the session with.

`error`

An error that describes the reason for the failure.

## Discussion

After you call a session’s [`update(to:)`](/documentation/AutomaticAssessmentConfiguration/AEAssessmentSession/update(to:)) method, the session calls this delegate method if the update fails. If the update succeeds, the session calls [`assessmentSessionDidUpdate(_:)`](/documentation/AutomaticAssessmentConfiguration/AEAssessmentSessionDelegate/assessmentSessionDidUpdate(_:)) instead.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)