<?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: Unexpected error while calling Notebook 
string matching regex `\$[\w_]+' expected but `M' found in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/115079#M45023</link>
    <description>&lt;P&gt;Since you're using dbutils.notebook.run() properly now, the issue is not in your current notebook, but actually in the target notebook you’re calling.&lt;/P&gt;&lt;P&gt;Specifically, Databricks is trying to parse a %run command in that notebook, and it’s hitting a syntax error that looks like this:&lt;/P&gt;&lt;P&gt;Failed to parse %run command: string matching regex '\$[\w_]+' expected but 'e' found.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2025 05:07:40 GMT</pubDate>
    <dc:creator>thedeadturtle</dc:creator>
    <dc:date>2025-04-10T05:07:40Z</dc:date>
    <item>
      <title>Unexpected error while calling Notebook 
string matching regex `\$[\w_]+' expected but `M' found</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/18691#M12443</link>
      <description>&lt;P&gt;Run result unavailable: job failed with error message INVALID_PARAMETER_VALUE: Failed to parse %run command: string matching regex `\$[\w_]+' expected but `M' found) Stacktrace:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Notebookpath: scala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to call notebook we are using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dbutils.notebook.run("Notebookpath",3600)&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2022 06:24:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/18691#M12443</guid>
      <dc:creator>pratik21</dc:creator>
      <dc:date>2022-06-05T06:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected error while calling Notebook 
string matching regex `\$[\w_]+' expected but `M' found</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/18692#M12444</link>
      <description>&lt;P&gt;Hello @pratik gaikwad​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please share the notebook path (full string) that is passed to dbutils.notebook.run?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 04:26:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/18692#M12444</guid>
      <dc:creator>User16764241763</dc:creator>
      <dc:date>2022-06-06T04:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected error while calling Notebook 
string matching regex `\$[\w_]+' expected but `M' found</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/18694#M12446</link>
      <description>&lt;P&gt;I just copied all the cells from same notebook and created a new notebook with same name at same location (no path changed)&lt;/P&gt;&lt;P&gt;removed old notebook &lt;/P&gt;&lt;P&gt;it worked .&lt;/P&gt;&lt;P&gt;first i tried to clone the notebook but it was giving same error.&lt;/P&gt;&lt;P&gt;and the error occurred unexpectedly my job was live it was working and then sudden error (no changes)&lt;/P&gt;&lt;P&gt;&amp;nbsp;for time being i was able to get above way around but don't know the actual reason of error &lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 17:08:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/18694#M12446</guid>
      <dc:creator>pratik21</dc:creator>
      <dc:date>2022-06-09T17:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected error while calling Notebook 
string matching regex `\$[\w_]+' expected but `M' found</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/50061#M28696</link>
      <description>&lt;P&gt;Not sure of&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/41396"&gt;@pratik21&lt;/a&gt;&amp;nbsp;, but for me cloning the notebook at a different location worked for me and it stopped giving me the error altogether.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 06:20:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/50061#M28696</guid>
      <dc:creator>wise_owl</dc:creator>
      <dc:date>2023-10-30T06:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected error while calling Notebook 
string matching regex `\$[\w_]+' expected but `M' found</title>
      <link>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/115079#M45023</link>
      <description>&lt;P&gt;Since you're using dbutils.notebook.run() properly now, the issue is not in your current notebook, but actually in the target notebook you’re calling.&lt;/P&gt;&lt;P&gt;Specifically, Databricks is trying to parse a %run command in that notebook, and it’s hitting a syntax error that looks like this:&lt;/P&gt;&lt;P&gt;Failed to parse %run command: string matching regex '\$[\w_]+' expected but 'e' found.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 05:07:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/m-p/115079#M45023</guid>
      <dc:creator>thedeadturtle</dc:creator>
      <dc:date>2025-04-10T05:07:40Z</dc:date>
    </item>
  </channel>
</rss>

