302 found error | Adobe Higher Education
Skip to main content
Level 4
February 8, 2023
Beantwoord

302 found error

  • February 8, 2023
  • 2 reacties
  • 1750 Bekeken

I am hitting an endpoint and getting the below error in the network tab. 

Also, I'm getting 302 not found error for the resource.

Can anyone clarify what exactly can be the issue?

Er kunnen geen reacties meer worden geplaatst op dit onderwerp.
Beste antwoord door Ritesh_Mittal

Hi @goyalkritika ,

 

I see the URLs do not have extension, so my understanding is you have set-up vanity/short URLs. Now, regarding the error, have you checked the error logs, you should find something over there. 404 means you do not have access so if you are using any system user within your service implementation/Sling Model class, just make sure the system user has the right access.

If this does not resolve your issue, then I need some more information like what custom configurations, redirects, etc you have done along with logs.

 

Thanks,

Ritesh Mittal

2 reacties

Jagadeesh_Prakash
Community Advisor
Community Advisor
February 8, 2023

@goyalkritika  from the screenshot i see that their is some custom logic that you have written to read the query params. Can you check if your logic is correct and their is not redirects happening

 

I totally see that this issue is because of your custom code. 

Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
February 8, 2023

Hi @goyalkritika ,

 

I see the URLs do not have extension, so my understanding is you have set-up vanity/short URLs. Now, regarding the error, have you checked the error logs, you should find something over there. 404 means you do not have access so if you are using any system user within your service implementation/Sling Model class, just make sure the system user has the right access.

If this does not resolve your issue, then I need some more information like what custom configurations, redirects, etc you have done along with logs.

 

Thanks,

Ritesh Mittal