Set-PnPListItem: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing #3336
-
Trying to update lots of items in a SharePoint list with Set-PnPListItem results in an error: Changing the RequestTimeout property on the context object of the connection did not help. Expected behaviorRequestTimeout property of the context object in the connection prevents the error Actual behaviorCould not find any way around this error so far. Steps to reproduce behaviorUpdate all list items in a list containing 3000 items. What is the version of the Cmdlet module you are running?2.2.0 Which operating system/environment are you running PnP PowerShell on?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'm running into the same issue updating 55,000+ items. I'm using a quick and dirty way around this by retrying one time if it times out (sample code below). So far that's been enough of a workaround.
|
Beta Was this translation helpful? Give feedback.
I'm running into the same issue updating 55,000+ items. I'm using a quick and dirty way around this by retrying one time if it times out (sample code below). So far that's been enough of a workaround.