Fixed
Status Update
Comments
jf...@google.com <jf...@google.com> #2
Thanks for the report!
I have been able to replicate this issue as well - the flag doesn't appear to be returned in the 'list albums' call. I have forwarded the issue to the engineering team.
You can only write to albums that your app has created. (See the scopes section:https://developers.google.com/photos/library/guides/authentication-authorization#OAuth2Authorizing I'll also see if we can make it clearer in the uploading media guide in our documentation.)
Can you confirm that you can create media items in albums that you have created, even if the 'writeable' property is not returned?
I have been able to replicate this issue as well - the flag doesn't appear to be returned in the 'list albums' call. I have forwarded the issue to the engineering team.
You can only write to albums that your app has created. (See the scopes section:
Can you confirm that you can create media items in albums that you have created, even if the 'writeable' property is not returned?
jf...@gmail.com <jf...@gmail.com> #3
Thanks so much for the reply. About scopes, it seems from the docs that a scope of "https://www.googleapis.com/auth/photoslibrary " should allow upload to any of the user's albums, no?
(Being 2:30am for me at the moment, I'll try the uploads tomorrow.)
(Being 2:30am for me at the moment, I'll try the uploads tomorrow.)
jf...@gmail.com <jf...@gmail.com> #4
I can confirm that uploads are okay to albums created by the app, but (even with proper scopes) are not allowed to other albums.
Note that the docs give the incorrect upload endpoint; I've submitted that as a separate bug.
I hope the app-created-albums-only restriction is just a during-beta kind of thing, and that users will be given the opportunity to upload to all their albums. My app is a plugin for Adobe Lightroom, which tends to be the center of the user's photographic world and the Master Source of Knowledge for all their photography.
Note that the docs give the incorrect upload endpoint; I've submitted that as a separate bug.
I hope the app-created-albums-only restriction is just a during-beta kind of thing, and that users will be given the opportunity to upload to all their albums. My app is a plugin for Adobe Lightroom, which tends to be the center of the user's photographic world and the Master Source of Knowledge for all their photography.
jf...@google.com <jf...@google.com>
mp...@gmail.com <mp...@gmail.com> #5
"I can confirm that uploads are okay to albums created by the app, but (even with proper scopes) are not allowed to other albums."
Why is that? If user grants proper permission - it should be possible.
Why is that? If user grants proper permission - it should be possible.
jf...@google.com <jf...@google.com> #6
re #5 - that's not something that's currently supported by the Library API. Creation of media items is restricted to the user's library or to albums created by your application.
This sounds like something we should track separately. Please file a a feature request and we can follow up there:https://issuetracker.google.com/issues/new?component=385336&template=1083385
This sounds like something we should track separately. Please file a a feature request and we can follow up there:
jf...@google.com <jf...@google.com> #7
We have just released a new version of the Google Photos Library API that fixes the issue of the missing 'isWritable' property.
Thanks for your patience!
See our release notes for further detail:https://developers.google.com/photos/library/support/release-notes#2018-07-31
Note that you can't create media items in albums that were not created by your app, a feature request to support this is being tracked inhttps://issuetracker.google.com/110692941
Thanks for your patience!
See our release notes for further detail:
Note that you can't create media items in albums that were not created by your app, a feature request to support this is being tracked in
Description
API won't let me upload to any album, even though all Google-Photos scopes have been approved.
Even albums created by the app don't garner isWritable=true.
When on
Manage and add to shared albums on your behalf
Manage photos added by this app
View your Google Photos library
Add to your Google Photos library
View and manage your Google Photos library
so I'd expect to be able to write to all normal albums.
If I attempt to upload a photo anyway, I get an HTTP 405 "Method Not Allowed" response.
Your project number from the Google Developers Console: 480654626214