<?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: Error using a get metadata activity with a parameterized lakehouse source in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Error-using-a-get-metadata-activity-with-a-parameterized/m-p/4017495#M4286</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Based on the error message you've provided, it seems like the pipeline is having trouble interpreting the parameterized connection string, leading to a 'BadRequest' error when attempting to access the specified lakehouse.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;So I think first you need to make sure that the parameters exist and are passed correctly at runtime when using @pipeline().parameters.lakehouse_name. The error message mentions a specific path "Bronze/Files". Check that the path is formatted correctly and is accessible.&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;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 06:01:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-03T06:01:27Z</dc:date>
    <item>
      <title>Error using a get metadata activity with a parameterized lakehouse source</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Error-using-a-get-metadata-activity-with-a-parameterized/m-p/4017221#M4280</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created a data pipeline with a get metadata activity.&lt;/P&gt;&lt;P&gt;I've added a pipeline parameter in order to pass the name of the source lakehouse (Bronze).&lt;/P&gt;&lt;P&gt;In the files of the Bronze lakehouse I've loaded some csv files.&lt;/P&gt;&lt;P&gt;I need to consider these csv files by the get metadata activity, where I've specified&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;pipeline().&lt;/SPAN&gt;&lt;SPAN&gt;parameters&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;lakehouse_name as a connection, Lakehouse as a connection type while the workspace ID is filled automatically.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When I execute the data pipeline I obtain this error:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Field 'exists' failed with error: 'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Lakehouse operation failed for: Operation returned an invalid status code 'BadRequest'. Workspace: '388e9804-xxxx-wwww-yyyy-e618ca42198b'. Path: 'Bronze/Files'. ErrorCode: 'BadRequest'. Message: 'BadRequest'. TimeStamp: 'Sun, 30 Jun 2024 17:00:07 GMT'..,Source=Microsoft.DataTransfer.ClientLibrary,''Type=Microsoft.Azure.Storage.Data.Models.ErrorSchemaException,Message=Operation returned an invalid status code 'BadRequest',Source=Microsoft.DataTransfer.ClientLibrary,'.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The data pipeline runs successfully when I specify the lakehouse name for the connection, without parameterizing it.&lt;/DIV&gt;&lt;DIV&gt;Any helps to me about this issue, please? Thanks&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 30 Jun 2024 17:19:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Error-using-a-get-metadata-activity-with-a-parameterized/m-p/4017221#M4280</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2024-06-30T17:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error using a get metadata activity with a parameterized lakehouse source</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Error-using-a-get-metadata-activity-with-a-parameterized/m-p/4017495#M4286</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Based on the error message you've provided, it seems like the pipeline is having trouble interpreting the parameterized connection string, leading to a 'BadRequest' error when attempting to access the specified lakehouse.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;So I think first you need to make sure that the parameters exist and are passed correctly at runtime when using @pipeline().parameters.lakehouse_name. The error message mentions a specific path "Bronze/Files". Check that the path is formatted correctly and is accessible.&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;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 06:01:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Error-using-a-get-metadata-activity-with-a-parameterized/m-p/4017495#M4286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-03T06:01:27Z</dc:date>
    </item>
  </channel>
</rss>

