Closed pedrohgmacedo closed 6 months ago
Describe the bug Getting errors when trying to delete folder/app_library.
To Reproduce
... drive = api.drive d = drive.dir()[8] drive[d].delete()
Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\pedro\miniforge3\envs\icloud\Lib\site-packages\icloudpy\services\drive.py", line 342, in delete return self.connection.move_items_to_trash( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\pedro\miniforge3\envs\icloud\Lib\site-packages\icloudpy\services\drive.py", line 219, in move_items_to_trash "clientId": self.params["clientId"], ~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'clientId'
Expected behavior Folder should be deleted.
Screenshots THe api says that my iPhone is my Airpods Pro 2 instead of my phone or my watch. Is that a problem?
Describe the bug Getting errors when trying to delete folder/app_library.
To Reproduce
Expected behavior Folder should be deleted.
Screenshots THe api says that my iPhone is my Airpods Pro 2 instead of my phone or my watch. Is that a problem?![image](https://github.com/mandarons/icloudpy/assets/118010672/670d57cb-1d87-4d43-8a77-eab42c7258d4)