ERROR Paragraph create operation failed when adding a component on the container | Community
Skip to main content
Level 3
August 17, 2023
Solved

ERROR Paragraph create operation failed when adding a component on the container

  • August 17, 2023
  • 1 reply
  • 928 views

I created a component that, for each created tab, brings a core component container using a data-sly-resource.

However, when I try to insert other components within it, the following error message appears:

'Paragraph create operation failed.'


How can I resolve this error? I will share the code snippet where it appears within my custom component."

<div data-cmp-is="block_tab" data-cmp-hook-block_tab="property" class="block_tab">

<sly data-sly-use.multifieldAccordion="${'block_tab.js' @ multifieldName='multifield'}"></sly>

<sly data-sly-test.configured="${multifieldAccordion}"></sly>

<div data-sly-test="${configured}" class="cmp-block_tabGroup">

<div class="wrap-header">

<div class="cmp-block_tabGroup__header">

<div class="cmp-block_tabGroup__header__tab" data-sly-repeat.item="${multifieldAccordion}">

<sly data-sly-test="${properties.showIcons == 'showIcon'}" data-sly-use.iconTemplate="/apps/ccrcanaisdigitais/components/block_tab/icons/${item.properties.tabicon}.html">

<sly data-sly-call="${iconTemplate.icon @ width='16', height='16'}"></sly>

</sly>

<p class="cmp-block_tabGroup__header__tab__title">${item.properties.tabname @ context='html'}</p>

</div>

</div>

<div class="cmp-block_tabGroup__arrows">

<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg">

<path d="M8 14L2 8L8 2" stroke="#999999" stroke-width="2" stroke-linecap="square"/>

</svg>

<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg">

<path d="M2 2L8 8L2 14" stroke="#666666" stroke-width="2" stroke-linecap="square"/>

</svg>

</div>

</div>

<div class="cmp-block_tabGroup__content">

<div class="cmp-block_tabGroup__panel" data-sly-repeat.itemContainer="${multifieldAccordion}">

<sly data-sly-resource="${itemContainer.properties.tabname @ resourceType='core/wcm/components/container/v1/container'}"></sly>

</div>

</div>

</div>

</div>
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 Harwinder-singh

@nathanvieira , If you are running this locally, you should be able to find the error.log under this folder in your AEM author folder - crx-quickstart\logs 

 

Detailed information on logs in AEM is available here - https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/debugging/debugging-aem-as-a-cloud-service/logs.html?lang=en

 

1 reply

Harwinder-singh
Community Advisor
Community Advisor
August 17, 2023
Level 3
August 17, 2023

How can I access the error logs of AEM? I couldn't find the correct way to do it.

Harwinder-singh
Community Advisor
Harwinder-singhCommunity AdvisorAccepted solution
Community Advisor
August 17, 2023

@nathanvieira , If you are running this locally, you should be able to find the error.log under this folder in your AEM author folder - crx-quickstart\logs 

 

Detailed information on logs in AEM is available here - https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/debugging/debugging-aem-as-a-cloud-service/logs.html?lang=en