1

I am trying to run my local jss app in headless mode. while trying to hit the jss service, I am not getting the expected o\p. I can the security info object has 401 as statuscode.

enter image description here

If I try hitting the jss item from Sitecore itself, I can see the data. No auth issues. But when trying the same from headless mode, I see this security issue.

Any clue as to what is missing in here?

  • How do you hit the the JSS item from Sitecore itself? is the sitecore/api/layout/render/jss?item=/{url}&sc_apikey={key}&sc_site={site}&sc_lang=en working? – Jan Bluemink Jul 3 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.