Forbidden - 403 | Community
Skip to main content
September 12, 2020
Solved

Forbidden - 403

  • September 12, 2020
  • 4 replies
  • 1801 views

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

 

 

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

 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"? 

4 replies

Theo_Pendle
Theo_PendleAccepted solution
September 12, 2020

 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"? 

September 13, 2020

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
September 13, 2020

@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
September 14, 2020

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.