Uncaught SyntaxError: Unexpected token < in JSON at position 4 | Community
Skip to main content
Level 2
Jun 5, 2019 9:31 AM UTC

Uncaught SyntaxError: Unexpected token < in JSON at position 4

I have an AEM 6.4 project that works fine in the local environment, but on deployment to the enterprise AEM 6.4 environment, I can no longer delete components in a page, or even move them, images used in components do not show up in dialog and so on.

I see the following errors in the browser console:

I am clueless as to why this could be happening.

Any help on this would be great to move forward.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

arunpatidar
New Participant
Jun 5, 2019 11:01 AM UTC

Are you using Resource Override or any other plugin to inject js?

It seems the error is from locally injected js.

Translate
Arun Patidar
New Participant
Feb 6, 2020 11:14 AM UTC

Hi @anands82757572  @arunpatidar 

I am also facing the same issue. Have you got the solution?

Translate