I was able to create a project in VS code. Also able to authenticate the org. In the package.xml when i right click & click on "SFDX : Retrieve source in Manifest from Org" - i'm getting the following error message :-

UNC paths are not supported. Defaulting to Windows directory. ERROR running force:source:retrieve: This command is required to run from within an SFDX project.

It ended with exit code 1.

Any pointers to resolve this will be really helpful.


enter image description here

  • are you running the command in the appropriate path? maybe you can share a screenshot of your directory and project, same for the context of where you are running the command? – glls May 8 '19 at 18:16
  • I din't run the command. I right clicked in the package.xml file & clicked on the option to retrieve from Manifest. – Sunil May 8 '19 at 18:18
  • if you run it using the command line it works normally then? – glls May 8 '19 at 18:19
  • Added screen shot for better clarity on this issue. – Sunil May 8 '19 at 18:21
  • Never tried running this in Command line. – Sunil May 8 '19 at 18:26

Paths starting with \\ (UNC) are not supported. You would need to map the drive to a local drive letter in order to use the network drive effectively. The latter error ("this command is required to run...") is simply a symptom of the first error.

| improve this answer | |

I have faced same issue, I was creating project with SFDX:Create Project with manifest with default path.

I manually selected local C drive folder and SFDX commands started working.

| improve this answer | |
New contributor
dipak sonawane is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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