---
title: SNError.Code.invalidModel
framework: Sound Analysis
role: symbol
role_heading: Case
platforms: [iOS 13.0+, iPadOS 13.0+, Mac Catalyst 13.1+, macOS 10.15+, tvOS 13.0+, visionOS 1.0+, watchOS 6.0+]
path: soundanalysis/snerror/code/invalidmodel
---

# SNError.Code.invalidModel

An error that indicates the sound classifier’s underlying Core ML model is an invalid model type.

## Declaration

```swift
case invalidModel
```

## See Also

### Errors

- [SNError.Code.invalidFormat](soundanalysis/snerror/code/invalidformat.md)
- [SNError.Code.invalidFile](soundanalysis/snerror/code/invalidfile.md)
- [SNError.Code.operationFailed](soundanalysis/snerror/code/operationfailed.md)
- [SNError.Code.unknownError](soundanalysis/snerror/code/unknownerror.md)
