class FileRequestError(GeneralFileRequestsError): (source)
Known subclasses: dropbox.file_requests.CreateFileRequestError
, dropbox.file_requests.DeleteAllClosedFileRequestsError
, dropbox.file_requests.DeleteFileRequestError
, dropbox.file_requests.GetFileRequestError
, dropbox.file_requests.UpdateFileRequestError
There is an error with the file request. This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar file_requests.FileRequestError.not_found: This file request ID was not found. :ivar file_requests.FileRequestError.not_a_folder: The specified path is not a folder. :ivar file_requests.FileRequestError.app_lacks_access: This file request is not accessible to this app. Apps with the app folder permission can only access file requests in their app folder. :ivar file_requests.FileRequestError.no_permission: This user doesn't have permission to access or modify this file request. :ivar file_requests.FileRequestError.email_unverified: This user's email address is not verified. File requests are only available on accounts with a verified email address. Users can verify their email address `here <https://www.dropbox.com/help/317>`_. :ivar file_requests.FileRequestError.validation_error: There was an error validating the request. For example, the title was invalid, or there were disallowed characters in the destination path.
Method | is |
Check if the union tag is ``app_lacks_access``. |
Method | is |
Check if the union tag is ``email_unverified``. |
Method | is |
Check if the union tag is ``no_permission``. |
Method | is |
Check if the union tag is ``not_a_folder``. |
Method | is |
Check if the union tag is ``not_found``. |
Method | is |
Check if the union tag is ``validation_error``. |
Class Variable | app |
Undocumented |
Class Variable | email |
Undocumented |
Class Variable | no |
Undocumented |
Class Variable | not |
Undocumented |
Class Variable | not |
Undocumented |
Class Variable | validation |
Undocumented |
Method | _process |
Undocumented |
Inherited from GeneralFileRequestsError
:
Method | is |
Check if the union tag is ``disabled_for_team``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | disabled |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | _catch |
Undocumented |