STGUploader
STGUploader copied to clipboard
Photos may be deleted and not uploaded
I get the following in the logs:
CAISiQ<truncated>
[INFO] Response Code: 200
[INFO] { "newMediaItemResults": [ { "uploadToken": "CAISiQ<truncated>", "status": { "code": 3, "message": "BAD_IMAGE: There was an error while trying to create this media item." } } ]}
[INFO] Progress:86
The HTTP status code is 200 so the app removes the ARW photos. However, as we see in the error message, they are not really uploaded. Indeed, I checked - they are not uploaded.
Damn it, my apologies. I'll have to pull the whole status element apart. My assumption was they would mark it a 400 or 500 if any errors occurred in a batch. (all our batch sizes are 1 right now)
No worries, I was able to recover everything deleted from FAT32.
The root cause of that error is that my camera is A6300 which bumped the ARW format version. Photos do not support it, and such files cannot be uploaded even using the web UI.