bmachek/lrc-immich-plugin

recordPublishedPhotoUrl: must be called after recordPublishedPhotoId

Closed this issue · 2 comments

Got this error uploading an album with ~600 photos in it:

An internal error has occurred: recordPublishedPhotoUrl: must be called after recordPublishedPhotoId:

Log file:

09/01/2024 23:20:51 TRACE checkConnectivity: Sending getMyUser request
09/01/2024 23:20:51 TRACE ImmichAPI: Preparing GET request /users/me
09/01/2024 23:20:51 TRACE checkConnectivity: test OK.
09/01/2024 23:20:51 TRACE ImmichAPI: Preparing PUT request /albums/e60432b5-1e83-485f-9d89-0d52138089ce/assets
09/01/2024 23:20:51 TRACE ImmichAPI PUT request succeeded: [{"id":"2d8c318b-0556-43ca-88f1-18ec28ed9980","success":false,"error":"duplicate"}]

It's almost like it's treating it as already uploaded but it definitely hasn't been uploaded? Strangely clicking OK the asset upload still succeeds, not sure what might be the cause?

I checked the Trash and I see these assets that are producing this error are in the trash.

Closing didn't realize I had dupes in the catalog that were causing this.