Google Search Console integration expires after few days

Hi, today i’ve found this same problem.
I’ve received this e-mail:

Hi, we noticed that your Google Search Console credentials are no longer valid for this site:

This affects your integration with Piwik PRO and we can’t download Google Search Console data now.
Reenter your credentials in Piwik PRO > Menu > Analytics > Settings > Google Search Console.

The integration date is valid till to 30 august 2022.
I deleted and recreate the project but happens the same thing.

Can someone help me to understand what to do?
Thank you

Just from the top of my head - is your app set to be a production one? AFAIK the testing apps have limited lifetime.

Update: check e.g. this thread.

For anyone having this problem. You actually need to create NEW OAuth credentials, after you have upgraded the OAuth from TESTING to IN PRODUCTION.
I did that, and now it works. If you used the old credentials, the Refresh Token is going to expire after 7 days.

I confirm that the OAuth is in Production and not in Testing mode.
I’ve tried to delete the old OAuth Credentials and create new ones, but i’ve still the same problem.

It worked till now… and recreating the credentials appears the same dates

The integration date is valid till to 30 august 2022.
I deleted and recreate the project but happens the same thing.

In GSC integration we have latency in data up to 3 days (that’s the way Google’s API works) so let us know in 1 or 2 days if it’s still set to Aug 30th.