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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Forbidden - 403

Heena06
Level 3
Level 3

Hi,

 

Getting below error msg while clicking on the navigation option provided, it should redirect to href page.

Please suggest what could be the reason.

 

Thanks,

Heena

 

Heena06_0-1599910048201.png

 

1 Accepted Solution
Theo_Pendle
Correct answer by
Community Advisor
Community Advisor

 Hi @Heena06,

The issue is that the URL you are trying to visit does not have the an extension (eg: .html or .json).

What do you mean by "the navigation option provided"? 

View solution in original post

4 Replies
Theo_Pendle
Correct answer by
Community Advisor
Community Advisor

 Hi @Heena06,

The issue is that the URL you are trying to visit does not have the an extension (eg: .html or .json).

What do you mean by "the navigation option provided"? 

View solution in original post

abhilakhpatre1
Level 2
Level 2

Hi @Heena06 ,

 

There should not be a trailing slash while calling the Resource.

 

When Sling tries to resolve the same path, it won't be able to find the script to load. Please use any extensions .html, .json or .model.json etc. It will render the script based on extension or selectors match.

Nikhil-Kumar
Community Advisor
Community Advisor

@Heena06 

There seems to be issue with the request URL.
Are you using the shorten URL using etc/map? Then remove the last slash and hit the sling match path. 

Can you provide more details on this?

Thanks,
Nikhil

tatvam
Level 2
Level 2

Since you are getting 403 due to default GET servlet, this means that the URL is not mapping to a resource. It is possible the "provided navigation option" was generated wrong. It is possible the trailing / is to blame and could be checked first. Additionally see if the servlet (as a component) and the bundle are active.