Open knennigtri opened 1 year ago
Hi @knennigtri, when you try to debug this error with a post request to your campaign page you have to provide the delivery parameter (for example delivery http://localhost:4502/content/campaigns/wetrain/master/campaign-emails/training-email.campaign.content.json?delivery=DM43. Can you please test this again and check the json output? Thanks!
Hi @knennigtri , were you able to solve this issue.
Hi @bpauli , I used delivery=DM.. in my postman call. I am getting response with html when I use admin credential while testing the postman call. If I use campaign-remote user to make the same api call I end up in the same error, when I try to connect the email created using these email component I do see same error.
java.lang.NullPointerException: no mapping for html
I have AEM linked to ACS and an old email campaign with the legacy components can link with ACS just fine. When I try and link a new email campaign using these core email components, I'm getting a 'Response is not valid JSON'. From what I can tell, ACS is looking for a response of content/campaigns/brand/master/emails/myemail.campaign.content.json and when I try this request on author (or publish) I get the same error as below. I thought this was because of https://github.com/adobe/aem-core-email-components/blob/main/examples/ui.apps/src/content/jcr_root/apps/core-email-components-examples/config/rewriter/email-link-rewrite/.content.xml but after implementing this for my project, it still wouldn't work. Any tips would be massively helpful. Thanks.