Sorry if this is a stupid question, but I’ve been trying to get the API for Google Photos to work within n8n. I’m getting this error, and can’t figure out what is wrong.
I don’t think the Credential is the problem, because it asks me for the right permissions when authenticating and doesn’t seem to throw any errors itself.
Hi @ConfusedAnt, so I gave this a go on my end and could fetch my media items using the GET https://photoslibrary.googleapis.com/v1/mediaItemsendpoint:
I noticed you have a different access token URL - I am using https://oauth2.googleapis.com/token found here.
I’ve also added these scopes: https://www.googleapis.com/auth/photoslibrary https://www.googleapis.com/auth/photoslibrary.sharing https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata and access_type=offline as the query parameter.
Maybe you can give this a go on your end and see if any of these does the trick?