Photo App: Exporting a photo causes error 5.423

My husband is trying to export a photo from the Photos App but it always fails with the error code “unknown error 5.423”.

Does anybody know what that error means?

I already tried a google search, but nothing came up.


Thanks a lot for any help

MacBook Air (M1, 2020)

Posted on Jul 4, 2024 4:41 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 4, 2024 5:45 AM

The error code 5423 means:
 "The Photos library bundle is in a File Provider Sync Root directory, 
which is not supported because it can corrupt the photo library"

(from the comments in the #Photos.framework in Xcode)


Where is your Photos Library stored? If it is on iCloud Drive, or in your Desktop. or Documents folder (if these are syncing with iCloud), or in a DropBox folder or on Google Drive or similar, drag your Photos Library back to a local folder, for example the Pictures folder. Photos is now checking the location of a library, and if it is mot safe, it will refuse to do transactions, that could damage the library.


3 replies
Question marked as Top-ranking reply

Jul 4, 2024 5:45 AM in response to LiviaCH

The error code 5423 means:
 "The Photos library bundle is in a File Provider Sync Root directory, 
which is not supported because it can corrupt the photo library"

(from the comments in the #Photos.framework in Xcode)


Where is your Photos Library stored? If it is on iCloud Drive, or in your Desktop. or Documents folder (if these are syncing with iCloud), or in a DropBox folder or on Google Drive or similar, drag your Photos Library back to a local folder, for example the Pictures folder. Photos is now checking the location of a library, and if it is mot safe, it will refuse to do transactions, that could damage the library.


Jul 5, 2024 8:14 PM in response to léonie

Thanks Léonie for your fast and competent reply. 🙏


That was indeed the problem. My husband had moved the Photos Library inside the iCloud Drive. Moving it back to Pictures solved the problem.


By the way, may I ask where you got the explanation of the error code from?

I tried googling forward and backwards and nothing came up. 😞

Jul 6, 2024 2:30 AM in response to LiviaCH

You're welcome, LiviaCH. 😊 I am having developer software installed. In Xcode I can look into the source code for the frameworks used by the system applications. And occasionally we can see explanations for the error codes in the comments, pure luck.


Other errors you may be seeing in Photos:

Permission errors:

 PHPhotosErrorAccessRestricted API_AVAILABLE = 3310 // Access restricted by system configuration

PHPhotosErrorAccessUserDenied API_AVAILABLE= 3311, // The user has denied access

Errors with older, incompatible software installed:

PHPhotosErrorInvalid API_DEPRECATED_WITH_REPLACEMENT = -1, // DEPRECATED An unknown error occured



 


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Photo App: Exporting a photo causes error 5.423

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.