Open masics opened 1 year ago
Hi,
thank you for reporting this bug, it has been resolved in 2.4.2
version
Hey, I tried 2.4.2 version, but problem still occurs.
folder = ctx.web.folders.get_by_path("Shared Documents/Reports") role_def = ctx.web.role_definitions.get_by_type(RoleType.Contributor) group = ctx.web.site_groups.get_by_name("Demo Group").execute_query() folder.list_item_all_fields.add_role_assignment(group, role_def).execute_query()
Error traceback: office365.runtime.client_request_exception.ClientRequestException: ('-1, Microsoft.Data.OData.ODataException', "Invalid JSON. A comma character ',' was expected in scope 'Object'. Every two elements in an array and properties of an object must be separated by commas."
I get following error while executing:
The
My_Library
is a library created via Teams.I cannot see
My_Library
when running codeexamples/sharepoint/folders/list_folders.py
What I could do to get list of folders?