<!--
{
  "documentType" : "article",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/nsundefinedkeyexception-userinfo-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "NSUndefinedKeyException userInfo Keys"
}
-->

# NSUndefinedKeyException userInfo Keys

These constants are keys into an `NSUndefinedKeyException` `userInfo` dictionary

## Discussion

For additional information see [Key Value Coding Exception Names](/documentation/ObjectiveC/key-value-coding-exception-names).

## Topics

### Constants

[NSTargetObjectUserInfoKey](/documentation/ObjectiveC/nstargetobjectuserinfokey)

The object on which the key value coding operation failed.

[NSUnknownUserInfoKey](/documentation/ObjectiveC/nsunknownuserinfokey)

The key for which the key value coding operation failed.



---

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)