---
title: SCNConsistencyElementIDErrorKey
framework: scenekit
role: symbol
role_heading: Global Variable
path: scenekit/scnconsistencyelementiderrorkey
---

# SCNConsistencyElementIDErrorKey

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

## Declaration

```swift
let SCNConsistencyElementIDErrorKey: String
```

## Discussion

Discussion The value for this key is a 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.

## See Also

### Constants

- [SCNConsistencyElementTypeErrorKey](scenekit/scnconsistencyelementtypeerrorkey.md)
- [SCNConsistencyLineNumberErrorKey](scenekit/scnconsistencylinenumbererrorkey.md)
