Open s4y opened 6 years ago
Interesting. Can you create a PR for your changes?
I can if it'd be helpful, but I see the change as super hacky as-is (because the library doesn't seem to be parsing this error, or I'm not holding it right). So, I was hoping that you'd have a better idea.
Uploaded #447.
My Google Drive restore was failing with this error:
Since chunks are encrypted, it seems like this one just happened to match some pattern deep in Google's databases.
It turns out that a parameter,
acknowledgeAbuse=true
, can be passed to ACK this condition (but it's an error to pass it for non-blocked files).I hacked up my copy of Duplicacy to respond to it:
It worked, and I'm unblocked. I thought that the
googleapi.Error
would contain the underlying error and I could just check its value, butErrors
was empty, hence the quick and dirty string matching.Just a heads up that this is a potential issue and that supporting sending this response could help some people out 🙂.