Forum Discussion
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.
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”
- tstack7 years agoFormer Employee
I’m not quite clear on what you’re asking for here. What does the rest of your pipeline look like? Are you trying to write the document to a file?
Property names in JSON are quoted, so they’re necessary. Are you trying to write to a file?