---
title: Scene File Consistency Check Error Codes
framework: scenekit
role: collectionGroup
role_heading: API Collection
path: scenekit/1573761-scene-file-consistency-check-err
---

# Scene File Consistency Check Error Codes

Error codes that identify errors found during a scene-file-format consistency check.

## Overview

Overview If you specify true for the checkConsistency when creating or loading from a scene source, SceneKit verifies the scene file against the specification for its file format. SceneKit reports any format verification issues in an NSError object whose code property is one of these values. For more details about the location and nature of any format validation errors, see the SCNDetailedErrorsKey key in the error’s userInfo dictionary, and the keys listed in Scene File Consistency Error Keys.

## Topics

### Constants

- [SCNConsistencyInvalidURIError](scenekit/scnconsistencyinvalidurierror.md)
- [SCNConsistencyInvalidCountError](scenekit/scnconsistencyinvalidcounterror.md)
- [SCNConsistencyInvalidArgumentError](scenekit/scnconsistencyinvalidargumenterror.md)
- [SCNConsistencyMissingElementError](scenekit/scnconsistencymissingelementerror.md)
- [SCNConsistencyMissingAttributeError](scenekit/scnconsistencymissingattributeerror.md)
- [SCNConsistencyXMLSchemaValidationError](scenekit/scnconsistencyxmlschemavalidationerror.md)

## See Also

### Constants

- [SCNSceneSource.LoadingOption](scenekit/scnscenesource/loadingoption.md)
- [Scene Source Properties](scenekit/scene-source-properties.md)
- [Contributor Keys](scenekit/contributor-keys.md)
- [Unit Dictionary Keys](scenekit/unit-dictionary-keys.md)
- [Scene Loading Error Keys](scenekit/scene-loading-error-keys.md)
- [Scene File Consistency Error Keys](scenekit/scene-file-consistency-error-keys.md)
- [SCNSceneSourceStatusHandler](scenekit/scnscenesourcestatushandler.md)
- [SCNSceneSourceStatus](scenekit/scnscenesourcestatus.md)
