I am trying to create a new site and receive a site status of 3 but a 200 OK. I read somewhere that a status of 3 means the site is still being created but it has been some hours. In the docs it seems to say the status of 3 is a error but nothing more. I looked in the GitHub feedback section and it appeared that creating team sites with STS#3 is a problem but there was no solution and it went stale. I have also tried creating a communication site and get the same results. There is also no such site in the recycle bin which I have seen sometimes causes errors.
The request url: https://tenant.sharepoint.com/_api/SPSiteManager/Create
"request": {
"Title": "Teams Site 1",
"Url":"https://tenant.sharepoint.com/sites/TeamSiteTest",
"Lcid": 1033,
"ShareByEmailEnabled":false,
"Classification":"Low Business Impact",
"Description":"Test Site Creation",
"WebTemplate":"STS#3",
"SiteDesignId":"site id inserted here is correct",
"Owner":"owner@tenant.onmicrosoft.com",
"WebTemplateExtensionId":"00000000-0000-0000-0000-000000000000"}
Response:
"d": {
"Create": {
"__metadata": {
"type": "Microsoft.SharePoint.Portal.SPSiteCreationResponse"
},
"SiteId": "",
"SiteStatus": 3,
"SiteUrl": ""
}
}