Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read Albums but can't upload with full access on - Unauthorized #200

Open
PeterHuberBJSS opened this issue Jan 31, 2025 · 1 comment
Open

Comments

@PeterHuberBJSS
Copy link

Hi,

I am trying to create a sync from Google Drive to Google Photos.
Using my Oauth 2 credentials, I can download files from Google Drive.
I can read from Google Photos.
When I try to upload a file I get an issue.

CasCap.Services.GooglePhotosService[0]
StatusCode=Unauthorized, RequestUri=https://photoslibrary.googleapis.com/v1/uploads

Some Issue with header it is says:
{
"code": 16,
"message": "Authentication session is not defined."
}

@f2calv
Copy link
Owner

f2calv commented Feb 2, 2025

Looks like your authentication token hasn't the correct permissions, see https://stackoverflow.com/questions/52092415/authentication-session-is-not-defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants