Class WriteError

java.lang.Object
com.dropbox.core.v2.files.WriteError

public final class WriteError extends Object
This class is an open tagged union. Tagged unions instances are always associated to a specific tag. This means only one of the isAbc() methods will return true. You can use tag() to determine the tag associated with this instance.

Open unions may be extended in the future with additional tags. If a new tag is introduced that this SDK does not recognized, the OTHER value will be used.

  • Field Details

    • NO_WRITE_PERMISSION

      public static final WriteError NO_WRITE_PERMISSION
      The user doesn't have permissions to write to the target location.
    • INSUFFICIENT_SPACE

      public static final WriteError INSUFFICIENT_SPACE
      The user doesn't have enough available space (bytes) to write more data.
    • DISALLOWED_NAME

      public static final WriteError DISALLOWED_NAME
      Dropbox will not save the file or folder because of its name.
    • TEAM_FOLDER

      public static final WriteError TEAM_FOLDER
      This endpoint cannot move or delete team folders.
    • OPERATION_SUPPRESSED

      public static final WriteError OPERATION_SUPPRESSED
      This file operation is not allowed at this path.
    • TOO_MANY_WRITE_OPERATIONS

      public static final WriteError TOO_MANY_WRITE_OPERATIONS
      There are too many write operations in user's Dropbox. Please retry this request.
    • ACCESS_RESTRICTED

      public static final WriteError ACCESS_RESTRICTED
      The user doesn't have permission to perform the action due to restrictions set by a team administrator
    • OTHER

      public static final WriteError OTHER
      Catch-all used for unknown tag values returned by the Dropbox servers.

      Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.

  • Method Details