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

Error while uploading ...: status 500: #1

Open
asquelt opened this issue Jul 16, 2018 · 4 comments
Open

Error while uploading ...: status 500: #1

asquelt opened this issue Jul 16, 2018 · 4 comments

Comments

@asquelt
Copy link

asquelt commented Jul 16, 2018

i'm getting error 500 on every upload.
is there any way to debug what's the actual response?

@asquelt
Copy link
Author

asquelt commented Jul 16, 2018

after some time it changed to

Error while uploading ...: Post https://photoslibrary.googleapis.com/v1/uploads: oauth2: token expired and refresh token is not set

@int128
Copy link
Owner

int128 commented Jul 17, 2018

Is there any error message?

The second message says that your token has been expired. Remove .gpup_token in your home directory and try again.

@asquelt
Copy link
Author

asquelt commented Jul 17, 2018

no, unfortunately Error while uploading <FILENAME>: status 500: is complete message.

@asquelt
Copy link
Author

asquelt commented Aug 10, 2018

FYI, same problem persists with 1.2

2018/08/10 16:38:31 The following 1 files will be uploaded:
  1: AUT14506.JPG
2018/08/10 16:38:31 Proceed authorization due to token cache unavailable: Could not open cache file /root/.gpup_token: open /root/.gpup_token: no such file or directory
2018/08/10 16:38:31 Open http://localhost:8000 for authorization
2018/08/10 16:38:35 GET /
2018/08/10 16:38:39 GET /?state=nnn&code=xxx
2018/08/10 16:38:48 Storing token cache to /root/.gpup_token
2018/08/10 16:38:48 Queued 1 file(s)
2018/08/10 16:38:48 Uploading AUT14506.JPG
2018/08/10 16:38:48 Adding 1 file(s) to the library
2018/08/10 16:38:50 Error while BatchCreate: googleapi: Error 500: Internal error encountered., backendError
2018/08/10 16:38:54 Error while BatchCreate: googleapi: Error 500: Internal error encountered., backendError
2018/08/10 16:38:56 Error while BatchCreate: googleapi: Error 500: Internal error encountered., backendError
2018/08/10 16:39:12 Error while BatchCreate: googleapi: Error 500: Internal error encountered., backendError
2018/08/10 16:39:25 Error while BatchCreate: googleapi: Error 500: Internal error encountered., backendError
2018/08/10 16:40:00 Error while BatchCreate: googleapi: Error 500: Internal error encountered., backendError
2018/08/10 16:40:00 Could not perform BatchCreate: retry over

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