-
-
Notifications
You must be signed in to change notification settings - Fork 370
Closed
Labels
Description
The following snippet works fine for 2.5.9 but stopped working for 2.5.10:
result = client.shares.by_url(path).drive_item.get().execute_query()
print(result.get_content().execute_query().value)
The result.get_content() is what raises an error for Bad Url:
Exception has occurred: ClientRequestException
('BadRequest', "Resource not found for the segment '<<file_id>>'.", '400 Client Error: Bad Request for url:
The resource path for the result is different between both versions:, shortened
- 2.5.9 ----> /drives/ b!2nr9 / items / <<file_id>>
- 2.5.10 ---> /shares/ u!aHR0cHM6 / <<file_id>>
vgrem