Skip to main content

Error Code 1004

Error Screenshot:

Error Code 1004 Screenshot 1

Error Description: When using standard integration, when the caller calls zOffice online editing or preview service, no authentication information (Cookie, or token in URL) is passed. zOffice displays the above error.

Solution: The caller needs to integrate using same-domain method (already logged into the business system before calling zOffice, with corresponding cookies). Or use cross-domain method to call, passing the specified token in the URL. For example: http(s)://${zOffice_domain}/docs/app/thirdparty-rest/${docId}/${action}/content?zdocs_access_token=xxxxxxx The token name can be set in the management console

Error Code 1004 Screenshot 2