This error usually comes when you try to clone a remote repository. The probable reason is that your remote repository is not in the structure of the UiPath project or we can say the project.json is not present in the root folder.
Above is an example from Azure Repo. I have my UiPath projects in the respective subfolders. Not at the root level. To fix this, click
OK on the Error dialog box shown in the UiPath Studio. This will open up the directory where your project is cloned.
You will have to choose select the folder where your
project.json file is present. Let me go with the
SkypeRun. Open this folder.
Select the project.json file and click on Open.
This will start loading the dependencies and start creating the workspace.
Finally, my project is loaded and connected to the remote repository.