Skip to main content
Commonmark migration
Source Link

Essentially, a 403 is being received when jss create tries to connect to the JSS GitHub repo to retrieve the react (or Vue, Angular, etc...) sample app. So either some service between you and github.com is responding with a 403 or github.com is sending you a 403.

A couple suggestions:

  • Ensure that you are not restricted from accessing github.com due to firewall / proxy rules.
  • Try "manually" requesting https://api.github.com/repos/sitecore/jss/contents/samples?ref=master (via browser, Postman, etc..). GitHub may return an error message that can help you troubleshoot. For example

    API rate limit exceeded for xx.xx.xxx.xxx.

API rate limit exceeded for xx.xx.xxx.xxx.

Essentially, a 403 is being received when jss create tries to connect to the JSS GitHub repo to retrieve the react (or Vue, Angular, etc...) sample app. So either some service between you and github.com is responding with a 403 or github.com is sending you a 403.

A couple suggestions:

  • Ensure that you are not restricted from accessing github.com due to firewall / proxy rules.
  • Try "manually" requesting https://api.github.com/repos/sitecore/jss/contents/samples?ref=master (via browser, Postman, etc..). GitHub may return an error message that can help you troubleshoot. For example

API rate limit exceeded for xx.xx.xxx.xxx.

Essentially, a 403 is being received when jss create tries to connect to the JSS GitHub repo to retrieve the react (or Vue, Angular, etc...) sample app. So either some service between you and github.com is responding with a 403 or github.com is sending you a 403.

A couple suggestions:

  • Ensure that you are not restricted from accessing github.com due to firewall / proxy rules.
  • Try "manually" requesting https://api.github.com/repos/sitecore/jss/contents/samples?ref=master (via browser, Postman, etc..). GitHub may return an error message that can help you troubleshoot. For example

    API rate limit exceeded for xx.xx.xxx.xxx.

Source Link
Adam Weber
  • 2.3k
  • 11
  • 19

Essentially, a 403 is being received when jss create tries to connect to the JSS GitHub repo to retrieve the react (or Vue, Angular, etc...) sample app. So either some service between you and github.com is responding with a 403 or github.com is sending you a 403.

A couple suggestions:

  • Ensure that you are not restricted from accessing github.com due to firewall / proxy rules.
  • Try "manually" requesting https://api.github.com/repos/sitecore/jss/contents/samples?ref=master (via browser, Postman, etc..). GitHub may return an error message that can help you troubleshoot. For example

API rate limit exceeded for xx.xx.xxx.xxx.