Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Error after Rule fired

1982luca
Level 8
Level 8

 

Hello everyone,

 

I am getting this error after every rule is fired? Any idea? Thanks

1982luca_0-1602863441034.png

 

4 Replies
jkm-disco
Level 5
Level 5

Hi @1982luca , this looks like an error in some custom code (or erroneous extension).

In particular it looks like someone is referencing a promise that has never declared (e.g. promiseEG.then(()=>...., by default promiseEG would be treated as a null object if not declared properly and the interpreter would be looking for a property of the object called "then").

From the screenshot, it would be within whichever rule usually fires just after the "All Pages - User UUID - Authenticated -10" rule. It's worth noting that whatever rule is using promises, you will not get the desired functionality on Internet Explorer since it doesn't support Promise.prototype.then().

1982luca
Level 8
Level 8
@ jantzen_belliston-Adobe I still have this issue.
jkm-disco
Level 5
Level 5
@1982luca , the timing of this error just makes it appear that it is coming from a rule. If you aren't using any custom code in a rule, it is likely coming from the use of an extension within a rule. E.g., if you are using a Data Layer extension, it could be that you are referencing an undefined object. Start by narrowing down the search to just rules with custom code and/or those that are interacting with a data layer.
jantzen_belliston-Adobe
Community Manager
Community Manager
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?