Solution Deployed
Analytics / Reports & Dashboards
Internal server error during step-up authentication when exporting reports with over 10,000 records
Summary
When a Transaction Security Policy (TSP) requiring step-up authentication (Multi-Factor Authentication) is enforced for Report Export, an internal server error occurs if a user attempts to export a report containing more than 10,000 records using the "Formatted Report" option or the "Details Only (.xlsx)" format in Lightning Experience. (Note: This issue does not occur when exporting via Details Only as .xls or .csv).
Workaround
Use one of the following alternatives:
- Switch to Salesforce Classic and export the report.
- Export the report using the Details Only option with .xls or .csv format (instead of Formatted Report or Details Only .xlsx).
- Export the report using Details Only with .xls or .csv format first, complete the authentication, and then immediately (within 1 minute) export the report using Formatted Report.
- Temporarily disable the active Transaction Security Policy for Report Export.
Steps to reproduce
- Enable a Transaction Security Policy (TSP) for Report Export that requires step-up authentication if not.
- In Lightning Experience, navigate to Reports and open any report containing more than 10,000 records.
- Click Export.
- Select Formatted Report or Details Only (.xlsx) and click Export.
- Observe that users either get stuck in a verification code loop or hit an internal server error instead of completing the export.
History
Description updated
Nov 30, 2026
First tracked here as Solution Deployed with 381 reports
Nov 30, 2026