Context.profile is undefined - Real-time events | Community
Skip to main content
January 28, 2022
Solved

Context.profile is undefined - Real-time events

  • January 28, 2022
  • 1 reply
  • 1894 views

Hi,

I set up a number of transactional events (real-time type) without any links defined in either Collections or Enrichment section. An exemplary html templates have been added into them and for the first couple round of tests all of endpoints have triggered emails as expected. After I made some slight changes in html code (i.e. wrapped icons up with links) the messages stopped to be sent and as an error I can see:

Error while compiling script 'DM4824[htmldefaultContent]' line 48: context.profile is undefined.

The question is why such error is thrown when there is no link to profile in html templates at all.

Republishing event or messages changes nothing.

 

Any thoughts?

 

Thanks,

Dominik

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 ShrawanSaxena-1

Hi Dominik,

Please check if this issue is with default branding or with any specific branding you are using .

Also, try to see if you switch off tracking, are you able to send email successfully. 

 

1 reply

ShrawanSaxena-1
Adobe Employee
ShrawanSaxena-1Adobe EmployeeAccepted solution
Adobe Employee
January 28, 2022

Hi Dominik,

Please check if this issue is with default branding or with any specific branding you are using .

Also, try to see if you switch off tracking, are you able to send email successfully. 

 

neelivAuthor
January 28, 2022

Thanks, indeed the issue was caused by default branding. After the change to another one the problem has gone.