• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

DOCUMENT_NOT_AVAILABLE when downloading the document

Community Beginner ,
Jun 28, 2023 Jun 28, 2023

Copy link to clipboard

Copied

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.

TOPICS
Acrobat Sign , Adobe Sign , REST

Views

711

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 28, 2023 Jun 28, 2023

Copy link to clipboard

Copied

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 -Customer Enablement Engineer - Adobe Acrobat Sign

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 28, 2023 Jun 28, 2023

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 05, 2023 Jul 05, 2023

Copy link to clipboard

Copied

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 -Customer Enablement Engineer - Adobe Acrobat Sign

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 12, 2023 Jul 12, 2023

Copy link to clipboard

Copied

Hi,

Thanks for your answer

It has failed for this agreement ID CBJCHBCAABAAsX85zA4cG5sw0iaWA3y39pVYKVZHeApG

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 13, 2023 Jul 13, 2023

Copy link to clipboard

Copied

Also I confirm that we impersonate the user with a x-api-user header

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 19, 2023 Jul 19, 2023

Copy link to clipboard

Copied

Hello @A.Smusz - CE Engineer 

Do you have some update to share please ?

Thanks in advance.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 19, 2023 Jul 19, 2023

Copy link to clipboard

Copied

LATEST

Hi @PeopleDoc5CB6 ,

Aaron is currently out of the office; I'll do my best to answer on his behalf.

 

When the GET request was made against the agreements/documents endpoint, you got the response code 404 with the following message: "The document is not yet available or will have no pages to view."

Between the agreement status changing to SIGNED and the request, there was less than 2 seconds. In your situation, the document was only a few pages, but in other scenarios, the document can be hundreds of pages and 100MB+ in size. So, we'll need to ensure this part of the product stays asynchronous. I'm happy to go into additional details if you are interested.

 

I recommend adding a buffer between capturing the event, requesting the signed and filed PDF, and adding a retry to the get request with a 2-second delay. Webhooks are also available to push the signed filed document as part of the event notification.

 

Regards,

Roman

 

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines