In Salesforce Lightning Experience, Reports must have at least one column defined to run successfully.
Lightning Reports are not designed to be run without any columns defined. Such a report, when edited and saved in Lightning, will add all of the report type's available fields as columns. If the report type has more than 100 fields, accessing the report via API will result in the following error:
"BAD_REQUEST"
"Only a report with fewer than 100 columns can be run. The columns are fields specified as detail columns, summaries, or custom summary formulas. Remove unneeded columns from the report and try again."
If a report without columns is saved in Classic and run in Lightning, the below error will occur on the run page:
"We ran into an error when running this report. Try to re-submit your query."
Accessing the report via API results in this error message:
"BAD_REQUEST"
"Can't run the report because it doesn't have any columns selected. Be sure to add fields as columns to the report through the user interface."
To resolve this issue in Salesforce Lightning Reports, add at least one column to the report. If you do not want to display the column on the run page, you can toggle off detail rows.
000380336

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.