sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SiteStatus details needed

Open jbhoward opened this issue 8 years ago • 6 comments

Please include all the SiteStatus responses and their meaning.

0: Not found 1: 2: Site found / site created 3: (site not created, but why?) … n: ?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

jbhoward avatar May 24 '18 15:05 jbhoward

Actually, 2: Site found.

IOW, there is no error if the site already exists, and is therefore not created as requested.

jbhoward avatar Jun 05 '18 23:06 jbhoward

SiteStatus 1 ?

romanSlivinskyi avatar Aug 10 '18 08:08 romanSlivinskyi

Still getting some Site Status 3 error when trying to create communication site :

  • A website with same URL is in the delete sites bin (might be a logic behavior)
  • Somehow a site with the same URL was deleted (and site bin was cleaned) but SP haven't clean everything. (Definitely an issue). In this case, most of the time, you can still see the site with Get-PnPTenantSite cmdlet but cannot delete it.

Looks like this status code means "Something went wrong" with no additional precisions.

guillaume-kizilian avatar Aug 21 '18 13:08 guillaume-kizilian

Has ANYTHING been done about documenting this? At the present time we are hitting this call with the PNP JS libraries and it's returning a 200 WITH a Site Status = 3 and not creating anything. Sites we are trying to create are unique.

This kind of thing is unacceptable for these API documents.

pconnell99 avatar Dec 10 '18 16:12 pconnell99

I've pushed an update to the doc.

The full set of values for SiteStatus are as follows:

  • 0 - Not Found. The site doesn't exist.
  • 1 - Provisioning. The site is currently being provisioned.
  • 2 - Ready. The site has been created.
  • 3 - Error. An error occurred while provisioning the site.

I've also reached out to the owning team to see about getting more information when the status is 3.

patmill avatar Dec 10 '18 17:12 patmill

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 27 '20 18:01 msft-github-bot