When downloading a CRM Analytics dashboard widget using Download in Excel Format, Download in Excel Format with Metadata, or Download in CSV Format the download can fail with an internal server error instead of producing the file.
This article explains why downloading CRM Analytics dashboard widgets in Excel or CSV format can fail with an internal server error, and how to fix it.
This issue occurs when the org setting "Require first-party use of Salesforce cookies" is enabled. This setting restricts how cookies are used across requests, which can interfere with the download request for CRM Analytics dashboard widgets and trigger an internal server error.
005132452

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.