Error in Set-PnPListItem with -Batch parameter #376
-
I'm trying to execute the script below:
But I'm receiving the following error:
Get-PnPException return: If I'm execute this script without bash, everything goes right. Anyone has any idea what I'm doing wrong? 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.
Replies: 2 comments 1 reply
-
@mrcvinicius - I don't see this issue on my side (PS5 / PS7) Is there anything particular in your list? What column type, etc... |
Beta Was this translation helpful? Give feedback.
-
After some testes I noticed that what is causing the error are the column "Count". When I remove this column, the script works. I recreated this field like single text line, multiple lines, date and boolean but the error continues. I think the internal name of the field has some relation with the error. I tested in another tenant with another list and get the same error. I used Set-PnPListItem with batch parameter in a list with a field called "Count". Anyway, I just change the name of the field and worked for me. Thanks for the replies. |
Beta Was this translation helpful? Give feedback.
After some testes I noticed that what is causing the error are the column "Count". When I remove this column, the script works.
I recreated this field like single text line, multiple lines, date and boolean but the error continues. I think the internal name of the field has some relation with the error.
I tested in another tenant with another list and get the same error. I used Set-PnPListItem with batch parameter in a list with a field called "Count".
Anyway, I just change the name of the field and worked for me.
Thanks for the replies.