This issue is happening due to a security feature added in Illustrator to inform the user if any external application tries to execute a script in Illustrator.
Solution: Update your Logitech options app to the latest version – https://www.logitech.com/en-in/product/options
We heard from some users that above solution is not working for them, we are investigating this issue. Meanwhile users can try the below workaround
Create a JSX file with the following content:
Save the above JSX file. Now, go to File > Scripts > Other Script, and choose the newly saved jsx file.
This will suppress the warning dialog and run the script.
An error occurred while saving the commentRich commented
The update option worked for me.
I'm on a 2019 mbp 15" w/ OS version 11.5.2