SharePoint Modern News Web Part Error - "Something went wrong"

Copper Contributor

After successfully running gulp serve and attempting to add my custom web part (specifically a news web part) to a modern SharePoint page, I encountered the following error:

Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
Technical Details
ERROR:
[object Object]

This issue occurs when adding the web part to a SharePoint page, even though the build and serve commands (gulp serve) seem to work without any issues.

1 Reply

Hi @zaknof,

Please also check the developer console; there might be additional information about the error.

Is there any information displayed in the command line after running gulp-serve?