Troubleshoot a SharePoint Online Web Part Using a Correlation ID
Question details
Find the cause of a customized SharePoint web part error using the available correlation ID and configuration details.
- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- A user encounters an error in a customized Content Query web part and needs to investigate it.
- Observed behavior
- SharePoint displays a correlation ID, but SharePoint Online users generally cannot directly access the related ULS logs.
Record the correlation ID, the page URL, and the date, time, and time zone of the error. Note which computers are affected and what actions reproduce the issue.
Review the Content Query web part configuration and custom code
Use this approach to investigate settings or customizations that may be causing the web part to fail.
Navigate to the SharePoint page where the error appears and note the actions needed to reproduce it.
If you have permission and the page can be edited, select Edit Page, open the Content Query web part menu, and select Edit Web Part. Review its query, data source, filters, and other configured settings.
Ask the web part owner or a SharePoint developer to inspect the associated custom code and styling for recent changes or errors. Test any proposed correction in an appropriate test environment.

Request help from Microsoft or a SharePoint developer
Use this option if the configuration review does not identify the cause or you need help interpreting the error.
Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative for everyday document work, with a familiar interface and Microsoft Office format compatibility to support an easy transition. It does not diagnose or repair SharePoint web parts.

Frequently Asked Questions
What does a SharePoint correlation ID tell me?
It identifies a diagnostic event associated with the error. Record it along with the error time and page URL so Microsoft Support can investigate; the ID alone does not reveal the cause.
Can I access ULS logs for SharePoint Online?
SharePoint Online users generally cannot directly access the related ULS logs. Ask a Microsoft 365 administrator to submit a request through Support in the Microsoft 365 admin center; Microsoft may investigate without providing the logs.
Where can I check a Content Query web part's settings?
If you have editing permission and can open the page editor, select Edit Page, open the web part menu, and choose Edit Web Part. Review the data source, query, filters, and other settings.
What information should I include when asking for help?
Include the correlation ID, page URL, error date and time with time zone, reproduction steps, affected computers, and details of the web part and its customizations. Remove sensitive information before posting publicly.




