The issue is with the template policy.
The policy is wrongly set for first container check policy
E.g. In below template policy example, the last container policy should not be set.
<root
cq:policy="myapp/components/container/policy_1574694950110"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping">
<container
cq:policy="myapp/components/container/policy_649128221558427"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping">
<container
cq:policy="myapp/components/container/policy_649128221558426"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
<myapp jcr:primaryType="nt:unstructured">
<components jcr:primaryType="nt:unstructured">
<embed ....
</container>
</root>