This is a known issue with multiple programs on MacOS Ventura and later. It requires a fix from Apple. However, it is not affecting any files or deleting any work. You are safe to dismiss the error.
You can also avoid the error by going to File > Close and closing your scripts before quitting.