pnp / PnP

SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
https://aka.ms/m365pnp
Other
1.9k stars 3.31k forks source link

Creating a list from a Site Script #1882

Open antoniobriones opened 5 years ago

antoniobriones commented 5 years ago

Hi everyone,

I don't know if this is the right place to submit this issue but probably someone faced it.

If we create a list as part of a site script, which is applied automatically after site creation (because the site design is set as default for the web template that was used), and we do an operation against that list right after the site got created, like a CAML query, we get the following error:

image

If we have a custom SPFX webpart that does a query, same thing will happen.

This error disappears after some time (5 minutes aprox). This issue is random, seems to happen when we create several sites in the same time window and there's no error if we browse the list from the UI.

Ideas?

Thanks