Skip to main content

Response Code Description

Response CodeDescription
InvalidAuthHeaderAuthorization is empty or value verification error.
Value verification error troubleshooting steps:
1. Check if Filez Document Platform has configured Open API key. See 1.4.2 Filez Document Platform Open API Key Configuration
2. Check Content-Type. Value needs to be application/json
3. Check if request body is sent. If calculating Authorization request header includes request body, then request body needs to be sent when requesting
4. Check if the request body used when calculating Authorization is consistent with the actual sent content. Possible affecting reasons: line breaks, tabs, request body encoding (requires UTF-8 encoding)
5. Check if all values used when calculating token are consistent with the values sent in the request, requires both to be exactly the same
InvalidAuthRepoIDThird-party repoId is not configured in zOffice, or the corresponding repo has not enabled publicapi function, need to check application configuration
InvalidAuthTimestampThe timestamp represented by request header timeStamp differs from zOffice server current timestamp by more than 30s, check
TokenIsInvalidAuthorization value does not conform to specification repoId:publicApi:token
Header_{HeaderName}_IsNullMissing request header {HeaderName}
PublicApiIsDisableThe publicApi function of the application corresponding to repoId in Document Platform is not enabled
SecretIsNullThe application corresponding to repoId in Document Platform has not configured publicApi key
Response CodeDescription
LicenseNotFoundLicense not configured
InvalidLicenseConfigured license is invalid
LicenseIsExpireConfigured license is expired

Common Basic Request Parameters

Response CodeDescription
FilenameIsNullfileName in request is empty (note case sensitivity)
TargetFilenameIsNulltargetFilename in parameters is empty
SourceInfoIsNullfileUrl in parameters is empty
CallbackIsNullcallback in request is empty, callback is the callback address for third-party application to receive task results
ThirdPartyTokenIsNulltokenValue in request is empty
TokenTypeIsNulltokenType in request is empty
FileUrlNotAllowedFile download address domain needs to match the domain in the third-party application interface address prefix in configuration
CallbackUrlNotAllowedFile download address domain needs to match the domain in the third-party application interface address prefix in configuration
TaskQueueCongestionTask queue is full, try again later
ServerBusyServer is busy, try again later
ParamTypeErrorParameter value type error
ParamOutOfRangeParameter value is out of range or not passed according to given parameters
UriNotFoundAPI request path error
DownloadErrDownload file error, please confirm the file download link in request parameters can download files normally, or if tokenType, tokenValue are correct
NotSupportTaskInitiated task is not supported, please check if request parameters meet the requirements of the corresponding API, for example if file type, operation type are supported
Response CodeDescription
WMPicUrlOrPicNameIsNullpicUrl or picName in image watermark parameters is empty
WMTextParamIsNulltext parameter in text watermark is empty
WMPositionErrorposition parameter in watermark parameters is not passed according to given values
WMFontSizeParamIsNullFontSize parameter in watermark parameters is empty
WMFontColorParamIsNullFontColor parameter in watermark parameters is empty
WMFontParamIsNullFont parameter in watermark parameters is empty
WMPicTypeNotSupportImage watermark type in watermark parameters is not supported
WMPicIsNotSupportline1 in text watermark is empty
Response CodeDescription
TargetFilenameIsNullTargetFilename in conversion request is empty
NotSupportConvertTypeTarget type for conversion is not supported
NotSupportOptionsConversion method configured in current Document Platform does not support selectRange
PDF2PICNoParamsNo toPicOptions parameter passed when converting pdf to image
LongPicTypeErrorlongPicType parameter value error
Text2PicLongPicTypeErrorWord to image does not support image stitching
Response CodeDescription
TaskSuccessNotify (or ConvertSuccessNotify)Task succeeded
TaskFailNotify (or ConvertFailNotify)Task failed
TaskHandingNotifyTask is being processed
Response CodeDescription
InvalidTaskIdInvalid task ID
AccessOtherRepoIsNotAllowedNot allowed to access tasks created by other repos
ContentIdErrorcontentId does not exist
ContentIdIsNullcontentId is empty
Response CodeDescription
NotSupportEmptyOpsops does not support being empty
TooManyOpsMaximum of two operations allowed in ops
InvalidOpsWithEmptyOpActIdOperations in ops are missing actId
InvalidOpsWithSameActIdOperations with same actId are not allowed in ops
NotSupportModelOpUnsupported operations exist in ops
Response CodeDescription
NotSupportConvertTypeUnsupported file type
HasDifferentTypeDifferent file types exist in file list
WrongPagePage number is less than 1
DownloadUrlIsNullDownload link is empty
DownloadUrlNotAllowedDownload link domain does not match the third-party interface address configured in Document Platform
FileListIsNullfileList is empty
TooManyFilesToo many files
SameNameButDifferentUrlFiles with same name but different download links exist
Response CodeDescription
ImageOPNoParamsImage operation did not pass related parameters
Response CodeDescription
ProtectionActIsNullprotectionAct is empty
ProtectionActNotAllowedprotectionAct value is not supported
InvalidSecretDocument Platform has not configured secret, or length is not 32
DecryptFailPassword decryption failed
Response CodeDescription
TypeIsNullORInvalidSplit type is empty or not supported
keywordIsNullWhen split type is TEXT, keyword is empty