Hi Everyone,
I've spent a couple hours trying to figure this out and at this point I've tried many of the suggestions available here but I keep getting the same error.
"A type named 'SP.Data.MyListNameListItem' could not be resolved by the model. When a model is available, each type name must resolve to a valid type."
I'm trying to create SharePoint Items in batches with Power Automate, and even though I'm using the full list name, it still not working.
These are a couple actions of my flow:
Any suggestions?
Thank you,
J.E.
If anyone is trying to set up something similar, you may want to check this template that automatically deals with issues like a list display name that doesn’t match its back-end name: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Batch-Update-Create-and-Upsert-SharePoint-Lists/td-p/1365410
Sure, I just accessed my list URI to get the properties I needed using:
https://{site_url}/_api/web/lists/getbytitle('{list_name}')
And then manipulated that according to what I needed to do.
You can find more details at:
Determine SharePoint REST service endpoint URIs | Microsoft Learn
Hope that helps!
Cheers
Can you explain how you managed to get it working? Thanks.
Nvm, mystery solved!
After accessing my list properties through the api endpoint and seeing all of its details, I managed to get it working.