AppleScript error... Catalina?

I’m troubleshooting a script with essentially the same structure, and I get the SAME error. This script WILL create the note, it just won’t display it. Here’s a link to the question I asked, which is basically the same as yours. I’d appreciate any help I can get. @jayelevy tag me if you find a solution.