Forum Discussion
Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.
- 1 year ago
Hi Rutuja1997,
Based on the error " Double quoted string is not allowed"
Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object.
can you try the below path :{ "folderPath": @concat('Directory_name/', activity('Filter1').output.Value[0].name) }
If this post was helpful, please consider marking Accept as solution to assist other members in finding it more easily.
- 1 year ago
Hi Fabric Community,
Apologies for late feedback.The issue was solved by using set variable activity.I stored the concatenated string in set variable and passed that in the folder path.That way i could solve that problem.
Doesn't work when referencing Variable Library values either. Despite the warning messages the pipeline will save and copy activity does work. It is however, disconcerting that the copy activity shows these errors.
If I use a Set Variable activity and concat the two values and use that in the copy activity. I don't see the error.
In the Set Variable activity:
and in the Copy Data activity: