Class UploadSessionLookupError


  • public final class UploadSessionLookupError
    extends java.lang.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 Detail

      • NOT_FOUND

        public static final UploadSessionLookupError NOT_FOUND
        The upload session ID was not found or has expired. Upload sessions are valid for 48 hours.
      • CLOSED

        public static final UploadSessionLookupError CLOSED
        You are attempting to append data to an upload session that has already been closed (i.e. committed).
      • NOT_CLOSED

        public static final UploadSessionLookupError NOT_CLOSED
        The session must be closed before calling upload_session/finish_batch.
      • TOO_LARGE

        public static final UploadSessionLookupError TOO_LARGE
        You can not append to the upload session because the size of a file should not reach the max file size limit (i.e. 350GB).
      • OTHER

        public static final UploadSessionLookupError 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.