Purge API token for CDN cache | Community
Skip to main content
New Participant
July 10, 2024
Solved

Purge API token for CDN cache

  • July 10, 2024
  • 2 replies
  • 807 views

Has anyone used cdn.yaml for configuring Purge API token which can be used to purge the Fastly cache.

 

I am following below article to add Purge API token configuration - 

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/cdn-credentials-authentication

 

When deploying the changes, I am getting build failure with below message:

 

2024-07-10T11:32:04+0000 [ERROR] Error while processing the download and upload to shareName. Cause: Size of the config file is bigger than the permitted size. Make sure codeLocation is configured correctly

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by TarunKumar

Hi @pardeepg4829047 ,

This seems more like a fileupload size issue error.
You can try to set MaxFileSize in your yml file.
You can follow below link or more details on it

https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/debugging/debugging-aem-as-a-cloud-service/build-and-deployment

 

-Tarun

2 replies

kautuk_sahni
Employee
July 16, 2024

@pardeepg4829047 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni
TarunKumar
TarunKumarAccepted solution
New Participant
July 12, 2024

Hi @pardeepg4829047 ,

This seems more like a fileupload size issue error.
You can try to set MaxFileSize in your yml file.
You can follow below link or more details on it

https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/debugging/debugging-aem-as-a-cloud-service/build-and-deployment

 

-Tarun