I am hitting my sitecore instance layout service. I am able to deploy my app to sitecore instance using "jss deploy app -c -d". I have installed JSS Server Components.

URL: http://sitecore-instance/sitecore/api/layout/render/jss?item=/&sc_apikey={API Key}

Error: Value cannot be null.

Parameter name: tokenProvide

  • 1
    Do you have SXA on this instance? – pblrok Jan 10 at 14:50
  • @Pankaj Welcome to SSE. I see you have asked a number of questions recently, they all seem to have a similar root cause, it looks like you are on the wrong version of Sitecore to use JSS. Please check out What Makes a Good Post for help on how to ask questions that are answerable on SSE. Thanks. – Richard Seal Jan 10 at 16:58

Have you executed all the steps provided here https://jss.sitecore.com/docs/getting-started/jss-server-install and getting an error when accessing the root node.?

Then please Check your Sitecore version, JSS works only with 9.0.1, 9.0.2 and 9.1

The JSS server components require Sitecore 9.0 Update-1 or later. Install Sitecore according to the instructions for your version available on the dev site.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.