---
title: toneMappingFailed
framework: AVFoundation
role: symbol
role_heading: Type Property
platforms: [iOS 18.0+, iPadOS 18.0+, Mac Catalyst 18.0+, macOS 15.0+]
path: avfoundation/averror-swift.struct/tonemappingfailed
---

# toneMappingFailed

The requested tone mapping failed.

## Declaration

```swift
static var toneMappingFailed: AVError.Code { get }
```

## See Also

### Error codes

- [AVError.Code](avfoundation/averror-swift.struct/code.md)
- [airPlayControllerRequiresInternet](avfoundation/averror-swift.struct/airplaycontrollerrequiresinternet.md)
- [airPlayReceiverRequiresInternet](avfoundation/averror-swift.struct/airplayreceiverrequiresinternet.md)
- [airPlayReceiverTemporarilyUnavailable](avfoundation/averror-swift.struct/airplayreceivertemporarilyunavailable.md)
- [applicationIsNotAuthorizedToUseDevice](avfoundation/averror-swift.struct/applicationisnotauthorizedtousedevice.md)
- [applicationIsNotAuthorized](avfoundation/averror-swift.struct/applicationisnotauthorized.md)
- [autoWhiteBalanceNotLocked](avfoundation/averror-swift.struct/autowhitebalancenotlocked.md)
- [compositionTrackSegmentsNotContiguous](avfoundation/averror-swift.struct/compositiontracksegmentsnotcontiguous.md)
- [contentIsNotAuthorized](avfoundation/averror-swift.struct/contentisnotauthorized.md)
- [contentIsProtected](avfoundation/averror-swift.struct/contentisprotected.md)
- [contentIsUnavailable](avfoundation/averror-swift.struct/contentisunavailable.md)
- [contentKeyRequestCancelled](avfoundation/averror-swift.struct/contentkeyrequestcancelled.md)
- [contentNotUpdated](avfoundation/averror-swift.struct/contentnotupdated.md)
- [createContentKeyRequestFailed](avfoundation/averror-swift.struct/createcontentkeyrequestfailed.md)
- [decodeFailed](avfoundation/averror-swift.struct/decodefailed.md)
