BadGateway (502) CreateSiteScript Power Automate
using endpoint /_api/Microsoft.SharePoint.Utilities.WebTemplateExtensions.SiteScriptUtility.CreateSiteScript(Title=@title)?@title='DemoSiteScript' we got error BadGateway solution - user must be SharePoint Admin