Invoke-PnPBatch does not create items - what am I doing wrong? #349
-
When i'm using Any idea what I could be doing wrong? It is creating about 1000 items in that batch. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 2 replies
-
Can you post your code (not sensitive info though) and your OS (Windows/MacOS/Linux) + the version of PnP PowerShell you're using. You can get it by running |
Beta Was this translation helpful? Give feedback.
-
without batching it creates list items so |
Beta Was this translation helpful? Give feedback.
-
@evlo - I can reproduce your error when the value for -List is not formatted correctly. And as you're using variables when running the Add-PnPListItem, it might be worth checking what values they give you first. When formatted correctly, it's working fine on my side. |
Beta Was this translation helpful? Give feedback.
-
Value passed was ie "Lists/someListName"
Still results in
So I tried even with list title
And then I get same Again, without batching it works I guess it is something related to the manage metadata columns as I do not what other column type could be related to LCID. |
Beta Was this translation helpful? Give feedback.
-
Wo with verified same locale set with
Now I get
which is confusing to me, as it seems to be some onedrive related issue, and my script does not have 12000 lines :) maybe because I installed powershell module as an user to my work account onedrive? I'm trying on 1.3.15 |
Beta Was this translation helpful? Give feedback.
-
After uninstalling all versions and installing 1.3.0 as administrator so it is installed in program files and not my user profile I kept
In the code It does work for 700+ items in batch. I then had issues testing as i accidentally created my testing list url I can also confirm batching works correctly for trems with On 1.3.15 I still get lcd id error if i don't have
|
Beta Was this translation helpful? Give feedback.
-
Hmm I just noticed then on each I have created #363 for the taxonomy fields in batch but I dunno how realistic it is. |
Beta Was this translation helpful? Give feedback.
-
Issue #363 now resolved & closed - Adding this for ref only and future viewers. |
Beta Was this translation helpful? Give feedback.
Issue #363 now resolved & closed - Adding this for ref only and future viewers.