Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Javascript file shows 403 error

Avatar

Avatar
Level 1
alwinaugustinofficial
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
alwinaugustinofficial
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
alwinaugustinofficial
Level 1

11-06-2021

I am trying to modify a javascript file in the clientlibs folder in the publisher instance for debugging purpose. After I add a console log and saved the file. it is showing 403 error in the page. The other JS files included to the page are loading without any issue and only the modified file is showing the error. When I try to access the file URL directly also, it is showing like I don't have the permission to access the file. 

 

Anything I need to do from the AEM side after modifying a client library file ?

 

I am actually new to AEM and so it will be really helpful if someone can point me in the right direction. 

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

155 likes

Total Posts

370 posts

Correct Reply

57 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

155 likes

Total Posts

370 posts

Correct Reply

57 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

12-06-2021

Hi,

 

You don't have permission to modify any file on publish instance.

Please get relevant access on publish instance and try again.

Avatar

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

75 likes

Total Posts

67 posts

Correct Reply

19 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

75 likes

Total Posts

67 posts

Correct Reply

19 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
Level 5

11-06-2021

Hi @alwinaugustinofficial ,

 

It looks like permission issue, is it for logged-in user or anonymous (everyone)?. Are you are using webpack to build the java script library?

To debug, just open CRXDE in another tab and login with admin user and then refresh your website page and check if the java script is loading fine.