<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'. in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4730533#M10114</link>
    <description>&lt;P&gt;Hi Fabric Community,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2025 16:38:15 GMT</pubDate>
    <dc:creator>Rutuja1997</dc:creator>
    <dc:date>2025-06-12T16:38:15Z</dc:date>
    <item>
      <title>Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4703907#M9508</link>
      <description>&lt;P&gt;Hi Microsoft folks,&lt;/P&gt;&lt;P&gt;I am building a pipeline to copy the latest folder to the lakehouse from SFTP server.It could copy the folder when i entered the folder path manually but couldn't when I passed the folderpath dynamically using the concat function.Hardcoded path for example is '/Directory_name/folderName' .Now i want to dynamically pass the folderName from the the previous filter activity output which is filtering the latest folder.In the pipeline expression builder I wrote '&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;concat(&lt;/SPAN&gt;&lt;SPAN&gt;'Directory_name/'&lt;/SPAN&gt;&lt;SPAN&gt;,activity(&lt;/SPAN&gt;&lt;SPAN&gt;'Filter1'&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;output&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;).But g&lt;/SPAN&gt;&lt;SPAN&gt;etting "&lt;/SPAN&gt;&lt;SPAN&gt;Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'." error.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;I need this logic to build incremental pipeline to get the latest folder in the lakehous.&lt;/DIV&gt;&lt;DIV&gt;This is the filter activity payload&amp;nbsp;{&lt;BR /&gt;"ItemsCount": 6,&lt;BR /&gt;"FilteredItemsCount": 1,&lt;BR /&gt;"Value": [&lt;BR /&gt;{&lt;BR /&gt;"name": "New_Extract_2*****64_1*************",&lt;BR /&gt;"type": "Folder"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 May 2025 15:35:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4703907#M9508</guid>
      <dc:creator>Rutuja1997</dc:creator>
      <dc:date>2025-05-22T15:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4704189#M9519</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"folderPath": "@concat('Directory_name/', activity('Filter1').output.Value[0].name)"&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 21:51:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4704189#M9519</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-05-22T21:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4704675#M9525</link>
      <description>&lt;P&gt;Hi Nilendra, Thank you for replying promptly.I tried above suggestion it didn't work.It is showing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I tried this way as well didn't work&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 07:08:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4704675#M9525</guid>
      <dc:creator>Rutuja1997</dc:creator>
      <dc:date>2025-05-23T07:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4707948#M9618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1271997" data-lia-user-login="Rutuja1997" class="lia-mention lia-mention-user"&gt;Rutuja1997&lt;/a&gt;,&lt;BR /&gt;Based on the error&amp;nbsp;"&amp;nbsp;&lt;STRONG data-start="70" data-end="111"&gt;Double quoted string is not allowed"&lt;/STRONG&gt;&lt;BR data-start="111" data-end="114" /&gt;&lt;STRONG data-start="116" data-end="215"&gt;Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;can you try the below path :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "folderPath": @concat('Directory_name/', activity('Filter1').output.Value[0].name)
}
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-top: 0pt; margin-bottom: 8pt; font-family: Aptos; font-size: 12.0pt;"&gt;If this post was helpful, please consider marking &lt;SPAN&gt;Accept as solution&lt;/SPAN&gt; to assist other members in finding it more easily.&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 18:42:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4707948#M9618</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-05-26T18:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4712863#M9755</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1271997" data-lia-user-login="Rutuja1997" class="lia-mention lia-mention-user"&gt;Rutuja1997&lt;/a&gt;,&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV id="bodyDisplay_1" class=""&gt;
&lt;DIV class=""&gt;
&lt;P&gt;we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If the response addressed by the community member for&amp;nbsp; your query, please mark it as&amp;nbsp;Accept Answer&amp;nbsp;and click&amp;nbsp;Yes&amp;nbsp;if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Thank You.
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 May 2025 17:27:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4712863#M9755</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-05-29T17:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4716219#M9811</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1271997" data-lia-user-login="Rutuja1997" class="lia-mention lia-mention-user"&gt;Rutuja1997&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the information is helpful, please accept the answer by clicking the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;"Upvote" and "Accept Answer"&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;on the post. If you are still facing any issue, please let us know in the comments. We are glad to help you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We value your feedback, and it will help us to assist others who might have a similar query. Thank you for your contribution in enhancing Microsoft Fabric Community Forum.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 06:49:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4716219#M9811</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-06-02T06:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4721891#M9941</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1271997" data-lia-user-login="Rutuja1997" class="lia-mention lia-mention-user"&gt;Rutuja1997&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Just checking in regarding the issue you reported with the error "Double quoted string is not allowed" and the mismatched field type for 'folderPath'. As suggested earlier,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="578" data-end="770"&gt;If this resolves your problem, kindly mark the answer as &lt;STRONG data-start="635" data-end="647"&gt;Accepted&lt;/STRONG&gt; to help others in the community. If you're still encountering issues, feel free to update the thread we're here to help!&lt;/P&gt;
&lt;P data-start="578" data-end="770"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="772" data-end="833"&gt;Thank you for contributing to the Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 17:55:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4721891#M9941</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-06-05T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4730533#M10114</link>
      <description>&lt;P&gt;Hi Fabric Community,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 16:38:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/4730533#M10114</guid>
      <dc:creator>Rutuja1997</dc:creator>
      <dc:date>2025-06-12T16:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Expression of type: 'String' does not match the field: 'folderPath'. Expected type is 'object'.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/5198922#M16694</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;In the Set Variable activity:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;concat(pipeline().&lt;/SPAN&gt;&lt;SPAN&gt;libraryVariables&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Files_Temp_Path&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'/'&lt;/SPAN&gt;&lt;SPAN&gt;, pipeline().&lt;/SPAN&gt;&lt;SPAN&gt;libraryVariables&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Files_Temp_Filename&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;and in the Copy Data activity:&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;variables(&lt;/SPAN&gt;&lt;SPAN&gt;'FilePath'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Jun 2026 10:58:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Expression-of-type-String-does-not-match-the-field-folderPath/m-p/5198922#M16694</guid>
      <dc:creator>Vaughan_Brant</dc:creator>
      <dc:date>2026-06-15T10:58:13Z</dc:date>
    </item>
  </channel>
</rss>

