Skip to main content

Something Went Wrong Error

If you're seeing a "Something went wrong" error message displayed in place of a Sprocket web part, this article will help you diagnose and resolve the issue.

Something Went Wrong Error

Common Causes and Solutions

1. Microsoft Content Security Policy (CSP) Change — March 2026

warning

From 1st March 2026, Microsoft began rolling out Content Security Policy (CSP) enforcement across SharePoint Online. This is an incremental rollout — not all tenants are affected at the same time. If you have started seeing this error and cannot attribute it to a recent upgrade, this is likely the cause.

Symptom: Sprocket web parts display "Something went wrong" errors with no recent changes on your end, appearing around or after 1st March 2026.

Cause: Microsoft's new CSP enforcement blocks scripts that are not on SharePoint's trusted list. For existing deployed solutions like Sprocket, SharePoint does not automatically re-register script URLs under the new rules, causing web parts to fail to load.

Nothing has changed on the Sprocket side — this is a Microsoft platform change affecting all SPFx solutions.

Solution: Reinstalling Sprocket forces SharePoint to re-register the trusted script URLs:

  1. Go to your tenant App Catalog
  2. Download the currently installed Sprocket package (.cab)
  3. Delete the Sprocket package from the App Catalog
  4. Reinstall the downloaded package

This allows SharePoint to register the trusted URLs again and should resolve the issue.

tip

For full details including how to resolve Embed web part and Custom JS issues, which sources Sprocket requires, and how to delay CSP enforcement, see our Content Security Policy guide.


2. Recent Sprocket Upgrade in Progress

Symptom: You recently uploaded a new version of Sprocket to the App Catalog and are now seeing this error.

Cause: After uploading the Sprocket package file (.cab) to the App Catalog, it can take 5-10 minutes for SharePoint to fully install and deploy the updated files across your tenant.

Solution:

  1. Wait at least 5 minutes after uploading the package
  2. Press Ctrl+F5 on your keyboard to perform a hard refresh of the page
  3. The web part should now display correctly

3. Incomplete App Catalog Installation

Symptom: The error persists even after waiting 5-10 minutes and performing a hard refresh.

Cause: The installation of Sprocket into the App Catalog may not have completed successfully, or the deployment encountered an issue.

Solution:

  1. Navigate to your App Catalog site
  2. Re-upload the Sprocket package file (.cab) to replace the existing one — refer to the upgrading Sprocket guide for step-by-step instructions
  3. This will redeploy the solution
  4. Wait 5-10 minutes for the redeployment to complete
  5. Press Ctrl+F5 to perform a hard refresh of the affected page

4. Insufficient File Access Permissions

Symptom: Some users can see the web parts correctly, but other users are getting the "Something went wrong" error.

Cause: Sprocket is built on SPFx (SharePoint Framework), and the package file uploaded to the App Catalog contains JavaScript files. For web parts to load correctly, users need access to these JavaScript files in the App Catalog. While all internal users typically have access by default, certain configurations or user types may not.

Common Scenario: External guest users are trying to access a page with Sprocket web parts. By default, external users don't have access to App Catalog files.

Solution:

For external guest users, you need to grant them access to the App Catalog files. Please refer to our Guest Access Support article for detailed instructions on:

  • Enabling the Everyone claim at the tenant level
  • Adding the Everyone group to the App Catalog Visitors group
  • Granting external users access to required SharePoint lists

For other permission-related issues, verify that affected users have at least read access to:

  • The App Catalog site
  • The specific SharePoint site where the web part is being used

Still Having Issues?

If you've tried all the solutions above and are still experiencing problems, please contact our support team at [email protected].

When contacting support, please include:

  1. A screenshot of the error message
  2. Click on TECHNICAL DETAILS in the error message (as shown in the screenshot above) and include that information
  3. If possible, include a screenshot of your browser's developer console showing any error messages:
    • Press F12 to open Developer Tools
    • Click on the Console tab
    • Take a screenshot of any red error messages displayed
tip

If you're unsure how to capture developer console errors, don't worry! Just reach out to us and we'll help you directly.