Uncaught SyntaxError: Unexpected token < in JSON at position 4

Avatar

Avatar

anands82757572

Avatar

anands82757572

anands82757572

05-06-2019

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:

Screen Shot 2019-06-05 at 2.05.49 AM.png

I am clueless as to why this could be happening.

Any help on this would be great to move forward.

Replies

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

958

Correct Answer

820

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

958

Correct Answer

820
Arun_Patidar
MVP

05-06-2019

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

It seems the error is from locally injected js.

Highlighted

Avatar

Avatar

sumitm91731841

Avatar

sumitm91731841

sumitm91731841

06-02-2020

Hi @anands82757572  @Arun_Patidar 

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