Mbox.js showing error in console. | Community
Skip to main content
rajarajanr71853
Level 2
February 1, 2016
Solved

Mbox.js showing error in console.

  • February 1, 2016
  • 1 reply
  • 1484 views

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.

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 Amit_Kumar

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?

1 reply

Amit_Kumar
Amit_KumarAccepted solution
Level 10
February 2, 2016

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?