Expand my Community achievements bar.

JOIN US Next Wednesday, 12/6/23 @ 8am PT for the next Community Q&A Coffee Break! Bring your Machine Learning, AI Reporting & Analysis Questions to the chat. Experts Brent Kostak, Cristinel Anastasoaie, & Drew Burns of the Adobe Target Product Team will be providing deep insights and useful tips

[mboxCreate()] document.currentScript is missing or not supported/Track event request failed


Level 2

Using this to Generate a mbox on click of element , but Getting error in the console.

$(document).ready(function() {



       var hits = 1; //->variable

       // Everything below this line is called "binding" a handler to an event (click event)

       $('#element_1').click(function() { // --> handler or listener

           if (hits === 1) //for only first hit.


               // do Something over here for hits = 1

               console.log('hits_numbers ' + hits);              


                   'mbox': 'mboxClickTrack_showRegister',                  


           } else { // for hits +1


                   'mbox': 'mboxClickTrack_showRegister',                  


               console.log('hits_numbers ' + hits);



           return false;


I can see that new mbox is getting Generated on the click through

Adobe Experience Cloud Debugger BETA

But Receiving error in the console.

[mboxCreate()] document.currentScript is missing or not supported.

If I am not using mboxCreate, I am getting this error:

Track event request failed {mbox: "mboxClickTrack_showRegister", params: {…}, timeout: 15000, success: ƒ, error: ƒ} {status: "error", error: "abort"}

1 Reply


Level 4

Hi Robin,

Can you confirm if you are running mboxCreate from console??

mboxCreate is not supposed to be run from the console, as it tries to detect the DOM element it was called from (which in case of the console call is nonexistent). The recommended way is to use mboxCreate in inline scripts.

Hope this helps.