Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

AEM cloud CDN removeMarketingParams cdn yaml config not working - config pipeline failing during deployment

Avatar

Level 1

Adobe cdn is not allowing utm params and as per the recommendation have created the cdn.yaml file and the config pipeline is failing as it is expecting rules to be configured with it. but as per the adobe document it is not required. How this can be resolved and how to allow the marketing params such as utm params to the dispatcher.

 

kind: "CDN"
version: "1"
metadata:
  envTypes: ["dev"]
data:
  requestTransformations:
    removeMarketingParams: false

 

error log :

2025-04-02T04:44:57+0000 Summary of events during the deployment step:
2025-04-02T04:45:46+0000 Config Pipeline update status is failed
2025-04-02T04:45:47+0000 Error details are present:
2025-04-02T04:45:47+0000 Skipping config kind 'LogForwarding'. No matching configuration file found.
2025-04-02T04:45:48+0000 Error in config kind 'CDN': [/requestTransformations]: must have required property 'rules'. Actual properties: ['removeMarketingParams']. Required properties: ['rules'].
2025-04-02T04:45:48+0000 Skipping config kind 'MaintenanceTasks'. No matching configuration file found.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @KannanG1 ,

 

Okay, message says that it requires arrays instead of object. In YAML empty array is [].

 

kind: "CDN"
version: "1"
metadata:
  envTypes: ["dev"]
data:
  requestTransformations:
    removeMarketingParams: false
    rules: []

 

Best regards,

Kostiantyn Diachenko.

Kostiantyn Diachenko


Check out AEM VLT Intellij plugin


View solution in original post

4 Replies

Avatar

Community Advisor

Hi @KannanG1 ,

 

Actually it looks like a bug during config parsing, but according to error I would suggest to add empty rules property.

kind: "CDN"
version: "1"
metadata:
  envTypes: ["dev"]
data:
  requestTransformations:
    removeMarketingParams: false
    rules:

 

Try it out, please. Don't forget to configure Dispatcher configuration's ignoreUrlParams property.

 

Best regards,

Kostiantyn Diachenko.

 

Kostiantyn Diachenko


Check out AEM VLT Intellij plugin


Avatar

Level 1

Hi @konstantyn_diachenko ,

 

Thanks for your input

 

Seems not working with empty rules

 

KannanG1_0-1743702225787.png

 

2025-04-03T17:39:38+0000 Error details are present:
2025-04-03T17:39:38+0000 Skipping config kind 'LogForwarding'. No matching configuration file found.
2025-04-03T17:39:39+0000 Error in config kind 'CDN': [/requestTransformations/rules]: must be array, but was object
2025-04-03T17:39:39+0000 Skipping config kind 'MaintenanceTasks'. No matching configuration file found.

 

Regards,

Kannan

Avatar

Correct answer by
Community Advisor

Hi @KannanG1 ,

 

Okay, message says that it requires arrays instead of object. In YAML empty array is [].

 

kind: "CDN"
version: "1"
metadata:
  envTypes: ["dev"]
data:
  requestTransformations:
    removeMarketingParams: false
    rules: []

 

Best regards,

Kostiantyn Diachenko.

Kostiantyn Diachenko


Check out AEM VLT Intellij plugin


Avatar

Level 1

Hi @konstantyn_diachenko ,

 

Working fine with rules empty array configuration. Many thanks.

 

Regards,

Kannan