Forum Discussion
To your first question, I am not creating a project within a project because in that path: /GameStop/projects/TargetProject, projects is a project space and already exist. I am trying to create TargetProject inside the already exiting projects space. I have all rights and permissions to create and delete projects in that dev org.
You are correct about my first question. I was thinking of something else.
I know other’s have seen the message you are seeing if they have forgotten to change the asset type. Otherwise, try removing the leading /. I was able to create a project for my path org/projects/projectname, but saw the same message if the path was /org/projects/projectname.
- mohamadelmardin9 years agoNew Contributor III
The leading / (forward slash) is needed because it has to be an absolute path. I tried to remove it but I got an error complaining about invalid asset_type because it has to be a Dir: Failure: Invalid asset_type, expected “Dir”, Reason: Invalid asset_type, expected “Dir”
- dmiller9 years agoFormer Employee
Any particular reason you have the expression toggle selected?
For me, the following path works for creating a new project:
- mohamadelmardin9 years agoNew Contributor III
I have the expression toggle selected because I am using a quotation in between because at runtime real use case I have using arguments combined with text. But it doesn’t matter I am still getting that error regardless when I remove it below