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

List_folder result entries breaks for shared folder #50

Closed
milj opened this issue Aug 7, 2018 · 1 comment
Closed

List_folder result entries breaks for shared folder #50

milj opened this issue Aug 7, 2018 · 1 comment

Comments

@milj
Copy link

milj commented Aug 7, 2018

Hello,

I found an issue when trying to iterate through a publicly shared folder. The Dropbox API documentation instructs to use the shared_link option of the list_folder request. The dropbox_api gem (unknowingly, I guess) supports this option:

result = client.list_folder('', shared_link: 'https://www.dropbox.com/sh/cut/cut')

but I'm unable to iterate through the entries:

result.entries
ArgumentError: Invalid value for `path_lower`: nil.
	from /cut/dropbox_api-0.1.12/lib/dropbox_api/metadata/base.rb:62:in `rescue in []=`

I don't know it supporting shared folders is on the roadmap. I just wanted to let you guys know that it does not work.

Thanks!

@Jesus
Copy link
Owner

Jesus commented Feb 16, 2019

Thanks for reporting this, it should have been fixed by #55.

@Jesus Jesus closed this as completed Feb 16, 2019
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