cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

com.databricks.NotebookExecutionException: FAILED

EcuaCrisCar
New Contributor III

I am running the comparisons but I get an error, I am working from a databricks notebook.

Could someone help me to solve the following error:

com.databricks.WorkflowException: com.databricks.NotebookExecutionException: FAILED: Notebook not found: /users/cuenta_user/user/Tests

code used:

if((cli_vig > rang_min_acept) and (cli_vig < rang_max_acept)):
    status = dbutils.notebook.run("Tests", 120,{'arguments':'success'})
else:
    status = ('No execute')
 
I tell them that the notebook does exist, but it gives me the error as if it did not exist and is in the same directory, that is, if it exists, I would appreciate your help. Thanks in advance.
1 ACCEPTED SOLUTION

Accepted Solutions

Thanks for your answer, I tell you that I got the path from the location with the right click on the three buttons found in my Copy>Path workspace, there was no problem with that, and about the py file, well databricks saves it as a Notebook type so what I did was just restart the databricks session and try again, it was fixed. Thank you.

View solution in original post

2 REPLIES 2

-werners-
Esteemed Contributor III

two things that come to mind:

1. the notebook resides on another path than '/users/cuenta_user/user/Tests'
2. the notebook is not saved as a notebook but rather as an ordinary python file

Thanks for your answer, I tell you that I got the path from the location with the right click on the three buttons found in my Copy>Path workspace, there was no problem with that, and about the py file, well databricks saves it as a Notebook type so what I did was just restart the databricks session and try again, it was fixed. Thank you.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group