Skip to main content
Level 2
Aug 15, 2024 10:19 PM UTC
Solved

[ContentPolicyMappingImpl] Unable to find a content policy resource for Resource

Hey guys, I'm having a problem with one of my pages in my cloud prod environment, it takes forever to load and after a while it answers with the following message:

The ERROR messages I got repeated times in the logs was the one down bellow:

*ERROR* [179.60.168.49 [1723662768094] GET /content/project/language-master/en-us/sample-page.html HTTP/1.1] com.day.cq.wcm.core.impl.policies.ContentPolicyMappingImpl Unable to find a content policy Resource for Resource /conf/project/settings/wcm/templates/project-generic/policies/jcr:content/root/responsivegrid_329478474 under path wcm/foundation/components/responsivegrid/policy_1568743433891

Did anybody ever faced this issue? Does anybody know how could I correct it, or prevent it?

 

Best Regards

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
MukeshYadav_
MukeshYadav_Accepted solution
Community Advisor
Aug 17, 2024 8:35 AM UTC

Hi @sn-aquilavasconcelos ,

Error suggest required policies for template project-generic is missing.

Navigate to  /conf/project/settings/wcm/templates/project-generic/policies/jcr:content/root/responsivegrid_329478474

i.e. to your project-generic template

You may find wcm/foundation/components/responsivegrid/policy_1568743433891 as value of cq:policy property

Check this policy inside policies node if this is present in lower environment and relevant, then commit to higher env(prod)

 

Thanks

2 replies

Level 2
Aug 16, 2024 8:27 PM UTC

@heenamadan Would you be able to help me with this one as well? Thanks in advance.

Translate
MukeshYadav_
Community Advisor
MukeshYadav_Community AdvisorAccepted solution
Community Advisor
Aug 17, 2024 8:35 AM UTC

Hi @sn-aquilavasconcelos ,

Error suggest required policies for template project-generic is missing.

Navigate to  /conf/project/settings/wcm/templates/project-generic/policies/jcr:content/root/responsivegrid_329478474

i.e. to your project-generic template

You may find wcm/foundation/components/responsivegrid/policy_1568743433891 as value of cq:policy property

Check this policy inside policies node if this is present in lower environment and relevant, then commit to higher env(prod)

 

Thanks
Translate