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

move_file fails to find a folder #46

Open
citizen-seven opened this issue Apr 3, 2020 · 0 comments
Open

move_file fails to find a folder #46

citizen-seven opened this issue Apr 3, 2020 · 0 comments

Comments

@citizen-seven
Copy link

Steps to reproduce:

  1. I have file, which belongs to google service account and the folder from my account the service account has access to.
  2. I call client.move_file and get Exception: Folder does not exist
  3. I've looked into code and found out that the client.move_file method looks for folder id and then moves file in it.
  4. I can get the folder it by calling client.find_folders. If there was a way to pass the id to client.move_file it would solve the issue.
client.create_folder('test')
client.refresh_directories()
# i see the folder here
client.directories 

# this fails
client.move_file('file_id', 'test') 
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

1 participant