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

Uploaded assets are disappearing/expiring after a few days

New Here ,
Oct 11, 2022 Oct 11, 2022

Copy link to clipboard

Copied

We are using the PDF Services document generation API (https://developer.adobe.com/document-services/docs/overview/pdf-services-api/howtos/api-usage/) for generating documents. When we upload a template using the POST https://pdf-services.adobe.io/assets API call, the asset works fine for document generation for a few days. However, after a few days, the API call to generate a document starts producing the following error:

 

{
    "error": {
        "code": "NOT_FOUND",
        "message": "Asset Not Found."
    }
}

 

At that point, we have to upload a new template and update the asset ID used to generate the document. How can we make it so the template asset does not expire and we can continue to generate documents from the same template?

TOPICS
PDF Services API

Views

57

Likes

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

correct answers 1 Correct answer

Adobe Employee , Oct 11, 2022 Oct 11, 2022

It is not meant to be permament. I believe we only guarantee 24 hours. 

Likes

Translate

Translate
Adobe Employee ,
Oct 11, 2022 Oct 11, 2022

Copy link to clipboard

Copied

It is not meant to be permament. I believe we only guarantee 24 hours. 

Likes

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
New Here ,
Oct 12, 2022 Oct 12, 2022

Copy link to clipboard

Copied

Thanks @Raymond Camden ! In that case, we'll modify our code to upload a new template each time before we generate a document.

Likes

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 ,
Oct 12, 2022 Oct 12, 2022

Copy link to clipboard

Copied

LATEST

Well, I'd probably suggest doing a bit more work and have your code remember the upload time. You'll get much better performance if you upload once a day.

Likes

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
Resources