You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>>
The text was updated successfully, but these errors were encountered:
The following snippet works fine for 2.5.9 but stopped working for 2.5.10:
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:, shortenedThe text was updated successfully, but these errors were encountered: