Enum UploadSessionFinishError.Tag

    • Enum Constant Detail

      • LOOKUP_FAILED

        public static final UploadSessionFinishError.Tag LOOKUP_FAILED
        The session arguments are incorrect; the value explains the reason.
      • PATH

        public static final UploadSessionFinishError.Tag PATH
        Unable to save the uploaded contents to a file. Data has already been appended to the upload session. Please retry with empty data body and updated offset.
      • PROPERTIES_ERROR

        public static final UploadSessionFinishError.Tag PROPERTIES_ERROR
        The supplied property group is invalid. The file has uploaded without property groups.
      • TOO_MANY_SHARED_FOLDER_TARGETS

        public static final UploadSessionFinishError.Tag TOO_MANY_SHARED_FOLDER_TARGETS
        The batch request commits files into too many different shared folders. Please limit your batch request to files contained in a single shared folder.
      • TOO_MANY_WRITE_OPERATIONS

        public static final UploadSessionFinishError.Tag TOO_MANY_WRITE_OPERATIONS
        There are too many write operations happening in the user's Dropbox. You should retry uploading this file.
      • CONCURRENT_SESSION_DATA_NOT_ALLOWED

        public static final UploadSessionFinishError.Tag CONCURRENT_SESSION_DATA_NOT_ALLOWED
        Uploading data not allowed when finishing concurrent upload session.
      • CONCURRENT_SESSION_NOT_CLOSED

        public static final UploadSessionFinishError.Tag CONCURRENT_SESSION_NOT_CLOSED
        Concurrent upload sessions need to be closed before finishing.
      • CONCURRENT_SESSION_MISSING_DATA

        public static final UploadSessionFinishError.Tag CONCURRENT_SESSION_MISSING_DATA
        Not all pieces of data were uploaded before trying to finish the session.
      • CONTENT_HASH_MISMATCH

        public static final UploadSessionFinishError.Tag CONTENT_HASH_MISMATCH
        The content received by the Dropbox server in this call does not match the provided content hash.
      • OTHER

        public static final UploadSessionFinishError.Tag 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 Detail

      • values

        public static UploadSessionFinishError.Tag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UploadSessionFinishError.Tag c : UploadSessionFinishError.Tag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UploadSessionFinishError.Tag valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null