<!--
{
  "documentType" : "article",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/cmsync-error-codes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "CMSync error codes"
}
-->

# CMSync error codes

Constants that represent error codes Core Media sync operations return.

## Topics

### Constants

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

A sync error that indicates a parameter is missing.

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

A sync error that indicates a parameter isn’t valid.

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

A sync error that indicates the memory allocation fails.

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

A sync error that indicates the rate is nonzero.



---

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)