---
title: PHPhotosErrorInvalid
framework: Photos
role: symbol
role_heading: Global Variable
platforms: [iOS 13.0+, iPadOS 13.0+, Mac Catalyst 13.0+, macOS 10.15+, tvOS 13.0+, visionOS 1.0+]
path: photos/phphotoserrorinvalid
---

# PHPhotosErrorInvalid

The requested operation is invalid.

## Declaration

```swift
var PHPhotosErrorInvalid: Int { get }
```

## See Also

### Error Codes

- [invalid](phphotoserror-swift.struct/invalid.md)
- [PHPhotosErrorLibraryVolumeOffline](phphotoserrorlibraryvolumeoffline.md)
- [PHPhotosErrorRelinquishingLibraryBundleToWriter](phphotoserrorrelinquishinglibrarybundletowriter.md)
- [PHPhotosErrorSwitchingSystemPhotoLibrary](phphotoserrorswitchingsystemphotolibrary.md)
- [PHPhotosErrorUserCancelled](phphotoserrorusercancelled.md)
