Expand my Community achievements bar.

SOLVED

Mbox.js showing error in console.

Avatar

Level 2

Hi,

Whenever i use the latest mbox.js in DTM, I am getting the console error as

"Uncaught TypeError: Cannot read property 'indexOf' of undefined"

Please refer the below image.

Please help me.

Thank you.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Are You using DTM for implementing your Mboxes?

It seems like cookie manager is try to read a cooke but you don't have one.

1. Check if you are able to set the cookies for your site?

2. Check are you able to use your clientcontext cookies?

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Are You using DTM for implementing your Mboxes?

It seems like cookie manager is try to read a cooke but you don't have one.

1. Check if you are able to set the cookies for your site?

2. Check are you able to use your clientcontext cookies?