<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNConsistencyElementIDErrorKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:@SCNConsistencyElementIDErrorKey"
  },
  "title" : "SCNConsistencyElementIDErrorKey"
}
-->

# SCNConsistencyElementIDErrorKey

The identifier of the scene file element where the error occurred.

```
let SCNConsistencyElementIDErrorKey: String
```

## Discussion

The value for this key is a <doc://com.apple.documentation/documentation/Foundation/NSString> object containing an identifier.

If the element in which the error occurred does not have an identifier, the value for this key is the identifier of the closest parent element with an identifier.

---

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)