ArturOA
New Contributor III

I have seen this error popping up when you define a Python file without the header:

 
# Databricks notebook source
 
Databricks has a hard time running the file as a nested notebook and you can get some weird errors.