episerver / musicfestival-vue-template

The Vue.js version of the MusicFestival template site
https://world.episerver.com/documentation/developer-guides/CMS/editing/on-page-editing-with-client-side-rendering/
Apache License 2.0
41 stars 19 forks source link

403 Error on localhost:56312/?expand=* #18

Open brb72 opened 3 years ago

brb72 commented 3 years ago

Got the site to run but only seeing a blue background and no content due to this 403.

I tried adding CORS tags to the web.config, but that didn't make a difference.

Errors:

  1. GET http://localhost:56312/?expand=* 403 (Forbidden) dispatchXhrRequest @ xhr.js:172 xhrAdapter @ xhr.js:11 dispatchRequest @ dispatchRequest.js:59 Promise.then (async) request @ Axios.js:53 wrap @ bind.js:9 get @ api.js:9 getContentByFriendlyUrl @ api.js:37 (anonymous) @ epiDataModel.js:38 wrappedActionHandler @ vuex.esm.js:732 dispatch @ vuex.esm.js:437 boundDispatch @ vuex.esm.js:331 (anonymous) @ router.js:33 iterator @ vue-router.esm.js:2120 step @ vue-router.esm.js:1846 runQueue @ vue-router.esm.js:1854 confirmTransition @ vue-router.esm.js:2147 transitionTo @ vue-router.esm.js:2034 init @ vue-router.esm.js:2734 beforeCreate @ vue-router.esm.js:1203 invokeWithErrorHandling @ vue.js:1863 callHook @ vue.js:4214 Vue._init @ vue.js:4992 Vue @ vue.js:5072 (anonymous) @ main.js:57 webpack_require @ bootstrap 8b9b0ddba7308a84126e:19 (anonymous) @ main.bundle.js:19793 webpack_require @ bootstrap 8b9b0ddba7308a84126e:19 (anonymous) @ bootstrap 8b9b0ddba7308a84126e:62 (anonymous) @ bootstrap 8b9b0ddba7308a84126e:62

  2. Uncaught (in promise) Error: Request failed with status code 403 at createError (createError.js:16) at settle (settle.js:17) at XMLHttpRequest.handleLoad (xhr.js:59)

I ran the setup.cmd and installed everything I believe, but this is our first time running Vue so I might be missing some dependency?