Gsuite problems

Hello. I’m trying to access Google Sheets and I keep getting this error (while using API key connection)

If I try to connect it with OAuth Client ID, it shows me this message box empty ( it should contain “Subject” as text). My app target is something else, but for this, I was just trying to test if I can access Google Sheets with Ui Path

I tried what I found until now on the community, but it didn’t solve anything. I gave public access and no restrictions in Google Cloud Console. I don’t know what else to do.

Is there any other solution for this?