DBFILESUploadSessionLookupErrorTag
Objective-C
enum DBFILESUploadSessionLookupErrorTag : NSInteger {}
Swift
@frozen enum DBFILESUploadSessionLookupErrorTag : Int, @unchecked Sendable
The DBFILESUploadSessionLookupErrorTag enum type represents the possible
tag states with which the DBFILESUploadSessionLookupError union can exist.
-
The upload session ID was not found or has expired. Upload sessions are valid for 7 days.
Declaration
Objective-C
DBFILESUploadSessionLookupErrorNotFoundSwift
case notFound = 0 -
The specified offset was incorrect. See the value for the correct offset. This error may occur when a previous request was received and processed successfully but the client did not receive the response, e.g. due to a network error.
Declaration
Objective-C
DBFILESUploadSessionLookupErrorIncorrectOffsetSwift
case incorrectOffset = 1 -
You are attempting to append data to an upload session that has already been closed (i.e. committed).
Declaration
Objective-C
DBFILESUploadSessionLookupErrorClosedSwift
case closed = 2 -
The session must be closed before calling upload_session/finish_batch.
Declaration
Objective-C
DBFILESUploadSessionLookupErrorNotClosedSwift
case notClosed = 3 -
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).
Declaration
Objective-C
DBFILESUploadSessionLookupErrorTooLargeSwift
case tooLarge = 4 -
For concurrent upload sessions, offset needs to be multiple of 4194304 bytes.
Declaration
Objective-C
DBFILESUploadSessionLookupErrorConcurrentSessionInvalidOffsetSwift
case concurrentSessionInvalidOffset = 5 -
For concurrent upload sessions, only chunks with size multiple of 4194304 bytes can be uploaded.
Declaration
Objective-C
DBFILESUploadSessionLookupErrorConcurrentSessionInvalidDataSizeSwift
case concurrentSessionInvalidDataSize = 6 -
The request payload must be at most 150 MB.
Declaration
Objective-C
DBFILESUploadSessionLookupErrorPayloadTooLargeSwift
case payloadTooLarge = 7 -
(no description).
Declaration
Objective-C
DBFILESUploadSessionLookupErrorOtherSwift
case other = 8
View on GitHub
DBFILESUploadSessionLookupErrorTag Enumeration Reference