Integrating Google Photos library with n8n using custom node

I am trying to get a list of photos from Google Photos Library. I created a custom HTTP node for it. I also created a new project on Google Console, created credentials, and enabled Google Library API.

403 - “{\n \“error\”: {\n \“code\”: 403,\n \“message\”: \“Request had insufficient authentication scopes.\”,\n \“status\”: \“PERMISSION_DENIED\”\n }\n}\n”

Please share your workflow

Forbidden - perhaps check your credentials?

Request had insufficient authentication scopes.

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like

Here are the screenshots

Hey @wasimsafdar hope all is good. Welcome to the community.

photoslibrary.readonly scope was removed in march:

Any workaround? Or any basic Google Photos API still functional?

1 Like

All the outcomes of the changes are summarized and listed here:

The answer basically depends on what you are planning to access in Google Photos.

There is no work around. Because of privacy and security, you can use Google Picker API or selected photos from library created by a developer. You do not have full access so that you can fetch all photos from library automatically.

Isn’t “Google Picker API” itself a workaround? Can you access albums and download pics with this other API, via code?

Yes, but wth Google Picker, you need a frontend UI to select the pictures. Yes, you can access the albums. I wanted to automate these steps so that the user will not have to pick or select photos.