createSPList not updating the existing list #10003
Labels
Needs: Triage 🔍
Awaiting categorization and initial review.
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
Site designs & site scripts
Developer environment
macOS
What browser(s) / client(s) have you tested
Additional environment details
Power Automate Flow SharePoint HTTP Connector
Describe the bug / error
When i run a createSPList site script on an existing list, it gives the follwoing error:
{
"ErrorCode": -2130575342,
"Outcome": "2",
"OutcomeText": "List with name already exists.",
"Target": null,
"TargetId": null,
"Title": "Create or update list ",
"Verb": "createSPList"
}
Steps to reproduce
Expected behavior
It should update the existing list as mentioned in the note on the documentation here
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema#create-a-new-sharepoint-list
The text was updated successfully, but these errors were encountered: