Unexpected error while calling Notebook
string matching regex `\$[\w_]+' expected but `M' found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2022 11:24 PM
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:
/Notebookpath: scala
to call notebook we are using
dbutils.notebook.run("Notebookpath",3600)
- Labels:
-
Regex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2022 09:26 PM
Hello @pratik gaikwad
Could you please share the notebook path (full string) that is passed to dbutils.notebook.run?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2022 10:08 AM
I just copied all the cells from same notebook and created a new notebook with same name at same location (no path changed)
removed old notebook
it worked .
first i tried to clone the notebook but it was giving same error.
and the error occurred unexpectedly my job was live it was working and then sudden error (no changes)
for time being i was able to get above way around but don't know the actual reason of error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2023 11:20 PM
Not sure of @pratik21 , but for me cloning the notebook at a different location worked for me and it stopped giving me the error altogether.
![](/skins/images/582998B45490C7019731A5B3A872C751/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/582998B45490C7019731A5B3A872C751/responsive_peak/images/icon_anonymous_message.png)