google-cloud-platformgoogle-apigoogle-oauth

Google Photos API: App no longer has access to user data despite consent screen


I have an app registered and verified for the Google Photos Library API. sensitive scope

Since the beginning of June, it seems that my app is no longer allowed to access users' Photos data, even though users are presented with (and accept) the following consent screen:

consent screen

What’s strange is that this coincides with two emails I received from Google around the same time:

"[Action Advised] Manage your unused OAuth clients and protect your information", stating:
"OAuth clients that have remained inactive for six months will be automatically deleted."

"[Correction] Your OAuth clients will not be deleted", stating:
"None of your OAuth clients are marked for deletion. So, no action is required from you."

Great! So I assumed everything was fine.

But in that case, why does my app no longer have access to users' data even after they confirm access on the consent screen shown above?

Any help would be greatly appreciated.

Best regards,


Solution

  • Your problem might be related to the updates in Google Photos API. Some scopes are removed from the Library API after March 31, 2025 which you can check in this documentation. You might also find some helpful insights in this Reddit post.