Getting 403 Forbidden Error When Using SXA CLI Commands
Hello everyone, In this blog we will see a common error(403 forbidden) that usually comes up whenever we try to push something(Themes related changes) using SXA CLI to Sitecore Instance and how we can solve it.
So let's begin. Whenever we use any SXA command like sxa watch or sxa upload which pushes the recent changes to your configure Sitecore Instance and you are getting 403 forbidden access eventhough your minification is showing success as shown below
Solution:
Just check your z.SPE.Sync.Enabler.Gulp.config file is disabled.If yes, then make it enable as it has configuration for media file upload to instance. Path : wwwroot/App_Config/Include/z.Feature.Overrides/z.SPE.Sync.Enabler.Gulp.config
Hope this will help. Thanks for reading. Happy Sitecore learning!!!
You can check my other blogs too if interested. Blog Website
I usually copy over the error to the body so that when I search in future, I can find the blog post... although many people don't like posting errors, i think it is a useful note for future reference! It also gives you some start to your blogging experience since some days we don't know what to blog but want to blog something!
ReplyDeleteSure, will copy the whole error text in body. That's a good point. Thanks
Delete