-
Notifications
You must be signed in to change notification settings - Fork 457
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
KeyError: "clientid" #384
Comments
Update: Fixed by adding self.params['clientId'] = self.client_id to base.py, like so: def drive(self):
"""Gets the 'Drive' service."""
if not self._drive:
self.params['clientId'] = self.client_id
self._drive = DriveService(
service_root=self._get_webservice_url("drivews"),
document_root=self._get_webservice_url("docws"),
session=self.session,
params=self.params,
)
return self._drive |
I've tried doing this |
@scarlehoff this didn't work for me, but I tried |
ebob9
pushed a commit
to ebob9/pyicloud
that referenced
this issue
Nov 12, 2024
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
I get an error when I run api.drive.mkdir("NewFolder"), in attempt to create a folder in the root directory. I actually don't know if it's the right way to do it tho...
Environment
pip show pyicloud
): 1.0.0python -V
): 3.9.12Traceback/Error logs
Checklist
Additional information
The text was updated successfully, but these errors were encountered: