Thank you for posting query in Microsoft Q&A Platform.
I tried similar implementation; I am not getting error. I suspect that may be referenced notebook not published or referenced notebook name or path are incorrectly mentioned. Kindly recheck.
Please check below my implementation which I tried and worked fine.
Kindly refer below videos to understand about %run and run() function.
%run command to reference another notebook with in current notebook in Azure Synapse Analytics
run() function of notebook module in MSSparkUtils package in Azure Synapse
Please share screenshots of your implementation also if unable to figure out issue.
Hope this helps.
------------------
Please consider hitting Accept Answer
button. Accepted answers help community as well.