Home › How to fix › App Catalog
SOL008Needs youNo screenshots on the app details page
Why it matters
A screenshot shows admins and site owners what they are adding before they deploy it.
Where
config/package-solution.json → solution.metadata.screenshotPaths (files in ./sharepoint)
How to fix
- Take 1-5 screenshots of the web part on a real page (PNG/JPG, around 1366x768).
- Save them in sharepoint/images/, e.g. sharepoint/images/screenshot1.png.
- List them in package-solution.json (paths relative to ./sharepoint).
- Rebuild and upload the .sppkg.
- Not needed? Right-click → Ignore This Rule.
EXAMPLE
"screenshotPaths": [
"images/screenshot1.png",
"images/screenshot2.png"
]Microsoft articles
- Common validation errors when publishing an SPFx applearn.microsoft.com
- Prepare your SPFx app for publishing (naming, descriptions, metadata)learn.microsoft.com
In VS Code: right-click the finding → Explain & How to Fix, or use ▶ Fix step by step in the report.