<!--
{
  "documentType" : "article",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/format-description-errors",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Format Description Error Codes"
}
-->

# Format Description Error Codes

Errors the system returns from format description calls.

## Topics

### Constants

[`var kCMFormatDescriptionError_InvalidParameter: OSStatus`](/documentation/CoreMedia/kCMFormatDescriptionError_InvalidParameter)

An error that indicates that the function recieves an empty value for a parameter it requires.

[`var kCMFormatDescriptionError_AllocationFailed: OSStatus`](/documentation/CoreMedia/kCMFormatDescriptionError_AllocationFailed)

An error that indicates when an allocation fails.

[`var kCMFormatDescriptionError_ValueNotAvailable: OSStatus`](/documentation/CoreMedia/kCMFormatDescriptionError_ValueNotAvailable)

An error that indicates the format description doesn’t contain the value you request.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)