Skip to main content
Participant
June 28, 2023
Question

DOCUMENT_NOT_AVAILABLE when downloading the document

  • June 28, 2023
  • 1 reply
  • 2615 views

Hi everyone,

 

We‘re using AdobeSign here in my company.

When downloading the document after it has been signed (by using this endpoint /api/rest/v6/agreements/{agreement_id}/documents) we sometimes get a 404 saying that DOCUMENT_NOT_AVAILABLE The document is not yet available or will have no pages to view.

 

Do you know what it means exactly ? is the document not yet available for download because it has just been signed and need time to be processed on AdobeSign side ?

 

Thanks for your answers.

This topic has been closed for replies.

1 reply

atsmusz_as_dsEng
Adobe Employee
Adobe Employee
June 28, 2023

This can happen if you're making the call too quickly or if the workflow is at a point where the file is not done or has not yet been processed.  Can you describe your workflow with a bit more context/detail?

 

Aaron Smusz - Data Science Engineering - Adobe Acrobat Sign
Participant
June 28, 2023

After having signed the document the signer is redirected back to our platform. This is where we try to download the signed document from AdobeSign.

Our company (UKG) acts an integrator with AdobeSign and so we have many customers using that solution and this issue happens only for a few customers.

atsmusz_as_dsEng
Adobe Employee
Adobe Employee
July 5, 2023

On the API side, are you passing a x-api-user header value?

 

If your integration sends without impersonating a specific user and the agreement that it's trying to download was sent by a user who is not the "token-owner", this may be causing the issue. 

 

Additionally, if in the past a specific sign user originally configured the integration and that user then leaves the company, when the integration is re-configured with a new token-owner, that new token will not have access to the agreements sent by the previous token-owner.  If you are not passing an x-api-user in the send call all sends are done as the token owner.

 

If you can provide an agreement ID (same as a transaction ID) for an agreements that's failing to download, we can look it up and provide more info about what's happening.

Aaron Smusz - Data Science Engineering - Adobe Acrobat Sign