[Errno 2] No such file or directory

otum
New Contributor II

I am reading a Json a file as in below location, using the below code, 

 

 

 

file_path = "/dbfs/mnt/platform-data/temp/ComplexJSON/sample.json"  # replace with the file path
f = open(file_path, "r")
print(f.read())

 

 

 

otum_0-1704950000614.png

 

otum_0-1704949958734.png

 

but it is failing for no such file or directory exists? 

Can someone please help me with the issue?