Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Photos may be deleted and not uploaded #22

Open
vmarkovtsev opened this issue Apr 19, 2019 · 2 comments
Open

Photos may be deleted and not uploaded #22

vmarkovtsev opened this issue Apr 19, 2019 · 2 comments
Assignees

Comments

@vmarkovtsev
Copy link

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.

@Bostwickenator
Copy link
Owner

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 Bostwickenator self-assigned this Apr 19, 2019
@vmarkovtsev
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants