STGUploader icon indicating copy to clipboard operation
STGUploader copied to clipboard

Photos may be deleted and not uploaded

Open vmarkovtsev opened this issue 5 years ago • 2 comments

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.

vmarkovtsev avatar Apr 19 '19 14:04 vmarkovtsev

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)

Bostwickenator avatar Apr 19 '19 21:04 Bostwickenator

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.

vmarkovtsev avatar Apr 20 '19 07:04 vmarkovtsev