Expand my Community achievements bar.

Cannot read property 'category' of undefined

Avatar

Level 1

Team,

I am seeing below error on console on the first time when the page loads. This error will disappear when the page refresh. Does category is deprecated in AA? How should i fix this issue? If the page is not refereshed, the tracking doesnt work as expected?

Uncaught TypeError: Cannot read property 'category' of undefined

    at Object.customJS (satelliteLib-3145f6b…-staging.js:5)

    at Object.S.realGetDataElement (satelliteLib-3145f6b…-staging.js:2)

    at Object.S.getDataElement (satelliteLib-3145f6b…-staging.js:2)

    at Object.S.getVar (satelliteLib-3145f6b…-staging.js:2)

    at satelliteLib-3145f6b…-staging.js:2

    at RegExp.[Symbol.replace] (<anonymous>)

    at String.replace (<anonymous>)

    at Object.S.replace (satelliteLib-3145f6b…-staging.js:2)

    at o (satelliteLib-3145f6b…-staging.js:2)

    at s (satelliteLib-3145f6b…-staging.js:2)

customJS @ satelliteLib-3145f6b…-staging.js:5

S.realGetDataElement @ satelliteLib-3145f6b…-staging.js:2

S.getDataElement @ satelliteLib-3145f6b…-staging.js:2

S.getVar @ satelliteLib-3145f6b…-staging.js:2

(anonymous) @ satelliteLib-3145f6b…-staging.js:2

S.replace @ satelliteLib-3145f6b…-staging.js:2

o @ satelliteLib-3145f6b…-staging.js:2

s @ satelliteLib-3145f6b…-staging.js:2

S.preprocessArguments @ satelliteLib-3145f6b…-staging.js:2

triggerCommand @ satelliteLib-3145f6b…-staging.js:2

flushQueueExceptTrackLink @ satelliteLib-3145f6b…-staging.js:3

onSCodeLoaded @ satelliteLib-3145f6b…-staging.js:3

(anonymous) @ satelliteLib-3145f6b…-staging.js:2

r @ satelliteLib-3145f6b…-staging.js:2

onload.t.onload @ satelliteLib-3145f6b…-staging.js:2

desktop.b0f0330….js:1 SyntaxError: Unexpected end of JSON input

2 Replies

Avatar

Level 10

Hi,

I haven't seen this specific error before. Can you provide a URL where we can view the behavior?

Thanks,
Jantzen

Avatar

Level 10

Hi,

Is there a URL where we can view this behavior?