Replies: 2 comments
-
Am moving this to discussion since this is specific to your code/script. If anyone in the community has a suggestion, would be great to hear from them as well. |
Beta Was this translation helpful? Give feedback.
-
Hello, My first issue is not resolve because I can't run multiple request with PnP Batch. If anyone have same error message when executing PnPBatch with multiple column and value, please keep me informed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Reporting an Issue
I have a SharePoint script inventory that runs some cmdlet like "Set-PnPListItem" and "Add-PnPListItem" with bach parameter.
Then every 50 cmdlets, I run "Invoke-PnPBatch -Batch $batch -Connection $ConnectionSiteInventory"
When executing "Invoke-PnPBatch", randomly I receive the error below :
Le nombre maximum d'octets pouvant être lus à partir du flux a été dépassé. Après la dernière opération de lecture, un total de 1064000 octets a été lu à partir du flux alors qu'un maximum de 1048576 octets est autorisé.
In English I think it's: The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read operation, a total of 1064000 bytes has been read from the stream; however a maximum of 1048576 bytes is allowed
Here is some statistic for 4 complete execution of my script:
Here is the SharePoint item property that I set:

Actual behavior
What is the version of the Cmdlet module you are running?
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions