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

SOLVED

Mbox.js showing error in console.

rajarajanr71853
Level 2
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
Amit_Kumar
Correct answer by
Community Advisor
Community Advisor

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
Amit_Kumar
Correct answer by
Community Advisor
Community Advisor

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