---
title: PHASESoundEventError.Code.badData
framework: PHASE
role: symbol
role_heading: Case
path: phase/phasesoundeventerror-swift.struct/code/baddata
---

# PHASESoundEventError.Code.badData

An error that indicates a sound event contains invalid data.

## Declaration

```swift
case badData
```

## See Also

### Errors

- [PHASESoundEventError.Code.apiMisuse](phase/phasesoundeventerror-swift.struct/code/apimisuse.md)
- [PHASESoundEventError.Code.invalidInstance](phase/phasesoundeventerror-swift.struct/code/invalidinstance.md)
- [PHASESoundEventError.Code.notFound](phase/phasesoundeventerror-swift.struct/code/notfound.md)
- [PHASESoundEventError.Code.outOfMemory](phase/phasesoundeventerror-swift.struct/code/outofmemory.md)
- [PHASESoundEventError.Code.systemNotInitialized](phase/phasesoundeventerror-swift.struct/code/systemnotinitialized.md)
