I'm trying to set a filter to a GSheet with appscript but when I try to run the script appears a popup with:
Google Sheets API has not been used in project blackbox-6831xxxxxxxxx5 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/sheets.googleapis.com/overview?project=blackbox-6834xxxxxxxxxx5 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
When I try to reach that link the console returns me:
The API "sheets.googleapis.com" doesn't exist or you don't have permission to access it
All the other scripts that interact with GSheet API works perfectly. I have problems only with:
Sheets.Spreadsheets.batchUpdate({'requests': [request]}, ss.getId());
P.S. I'm the admin