---
title: incorrectlyConfigured
framework: AVFoundation
role: symbol
role_heading: Type Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+, visionOS 1.0+, watchOS 7.0+]
path: avfoundation/averror-swift.struct/incorrectlyconfigured
---

# incorrectlyConfigured

The system is incorrectly configured for the requested operation.

## Declaration

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

## Discussion

Discussion The system raises this error when you attempt to perform an incorrectly configured operation. For example, HTTP Live Streaming presents only a single video and audio track at a time. If you’re using AVAssetWriter to generate a fragmented MPEG-4 asset for streaming, adding more that one video and audio AVAssetWriterInput to the asset writer generates an error when you start writing.

## 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)
