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

Incorrect documentation regarding errors during files_batch* requests #111

Open
ctsmi opened this issue Jun 21, 2017 · 1 comment
Open
Labels

Comments

@ctsmi
Copy link

ctsmi commented Jun 21, 2017

Hey there,

We're using files_move_batch and files_move_batch_check. Talking to support, they've acknowledge that transient errors can occur during either of these two calls requiring a nominal back-off retry. While try/excepting these conditions, the documentation says that ApiError.reason carries the domain-specific error and in our case the error would be dropbox.files.PollError.

Neither of these cases are accurate: ApiError.error contains the error (there is no 'reason' member) and dropbox.async.PollError was returned, not dropbox.files.PollError.

We're using dropbox 7.2.1 but I've just checked 7.3.1 docs and the inconsistency remains:

If this raises, ApiError.reason is of type:
dropbox.files.PollError

@greg-db
Copy link
Contributor

greg-db commented Jun 21, 2017

Thanks for pointing these out!

@rogebrd rogebrd added the bug label Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants