Creates the Site Using PnP, but Hero Webpart causes Image thumbnail issue.

Nikhil 6 Reputation points
2021-08-25T17:11:41.493+00:00

Hi,

Created site using PnP provisioning, using below link,

https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-pnp-provisioning

but when we published the template page from based site, all the thumbnail images removed for Hero webpart, not getting applied.

images are present under the SiteAssets, still unable to find the reference.

on console, we are getting the error,

{SPURL}/_api/v2.1/sites/{URL},{Uid data}/lists/{Uid}/items/{UID}/driveItem/thumbnails/0/{UID}/content?preferNoRedirect=true&prefer=extendCacheMaxAge&clientType=modernWebPart

{"error":{"code":"itemNotFound","message":"Item not found"}}

Can you please help us to resolved the query.

Thanks

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | Office Online Server
Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.