$web.AvailableFields return "The request use too many resource" error #10092
Labels
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint CSOM
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
client api
powershell
Describe the bug / error
I have a Japanese modern communication site collection and with an English (modern team site) sub site. then I want to use client API
$fields=$web.AvailableFields
$context.Load($fields)
$context.ExecuteQuery()
to get the fields of the sub site.
if the login user who's preferred language is English I will got the error "The request use too many resource.", but if the login user preferred language is Japanese. it works fine.
Steps to reproduce
$fields=$web.AvailableFields
$context.Load($fields)
$context.ExecuteQuery()
4, use the user1 to test the script, user1 preferred language is English. not same as the site collection default language then get the error.
5, use the user2 to test the script, user2 preferred language is Japanese. same as the site collection default language. it works well
Expected behavior
no matter which user I used I think all the case should work well
The text was updated successfully, but these errors were encountered: