Google Spreadsheet Script Trigger: This app is blocked

I am trying to create a trigger for a script in google spreadsheet and upon trying to save the trigger I am getting the following error:

enter image description here

This app is blocked This app tried to access sensitive info in your
Google Account. To keep your account safe, Google blocked this access.

I don’t have G-Suite, I don’t have an organization, I am simply using my personal Gmail account. I don’t have the special account protection thing enabled. I tried using different scripts, even an empty script. What could be the problem here? I have used scripts and add-ons in the past, but haven’t needed triggers yet. Is there another way to run a script daily or monthly, without this trigger functionality?