---
title: PHLivePhotoInfoErrorKey
framework: photos
role: symbol
role_heading: Global Variable
path: photos/phlivephotoinfoerrorkey
---

# PHLivePhotoInfoErrorKey

An error that occurred while attempting to load the requested Live Photo.

## Declaration

```swift
let PHLivePhotoInfoErrorKey: String
```

## Discussion

Discussion The request(withResourceFileURLs:placeholderImage:targetSize:contentMode:resultHandler:) method validates that the files and their metadata can be loaded as a Live Photo. If Photos cannot load a Live Photo from the specified files, the result parameter in your result handler block is nil, and this key in the info dictionary contains an NSError object describing the error.

## See Also

### Constants

- [PHLivePhotoInfoIsDegradedKey](photos/phlivephotoinfoisdegradedkey.md)
- [PHLivePhotoInfoCancelledKey](photos/phlivephotoinfocancelledkey.md)
