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?
Solved! Go to Solution.
Views
Replies
Total Likes
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
@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.
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
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies