Uncaught SyntaxError: Unexpected token < in JSON at position 4 | Community
Skip to main content
Level 2
June 5, 2019

Uncaught SyntaxError: Unexpected token < in JSON at position 4

  • June 5, 2019
  • 1 reply
  • 2376 views

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.

1 reply

arunpatidar
Community Advisor
Community Advisor
June 5, 2019

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

It seems the error is from locally injected js.

Arun Patidar
February 6, 2020

Hi @anands82757572  @arunpatidar 

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