nek4life / intellij-demandware

Intellij Demandware Plugin
MIT License
32 stars 7 forks source link

Authentication Issue: 401 Error #19

Closed FerrusDude closed 5 years ago

FerrusDude commented 5 years ago

Could we please get a little guidance regarding troubleshooting 401 errors? Are there specific required configurations regarding resource directories, etc? As mentioned in #12 , are there specific requirements for the .idea directory location?

I have confirmed the correct path & credentials, but I am still receiving this error on upload attempt. Eclipse is working fine with the same credentials. Any insight would be both welcomed, and also a good addition to the Readme.

Thank you!

FerrusDude commented 5 years ago

I discovered the answer on my own, but I do think this detail should be more explicit in the instructions.

For anyone else with my issue, please ensure that your Intellij project is created in the correct root directory. This plugin derives file locations relativistically, and mislocating your .idea files will cause mysterious 401 errors.

  1. Create Project with Credentials
  2. Project location should be the distribution directory itself. I placed it one level higher, and that was a critical mistake.
  3. Proceed with the rest of the instructions