---
schema_version: "1"
id: a16df02bc6f0f4c3655c64d2e6725a9d70d6befdf5f5619e3d8355246d9c3d27
title: Reports Exceptions
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_Reports_exceptions.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_Reports_exceptions.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 534601aeb649d4b36135311ba52233847c551320fc546ed97fd3c6bf4f8f40c8
description: The Reports namespace contains exception classes.
---
# Reports Exceptions

The Reports namespace contains exception classes.

All exception classes support built-in methods for returning the error message and exception type. See [Exception Class and Built-In Exceptions](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_classes_exception_methods.htm "An exception denotes an error that disrupts the normal flow of code execution. You can use Apex built-in exceptions or create custom exceptions. All exceptions have common methods.").

The Reports namespace contains these exceptions:

| Exception | Description | Methods |
| --- | --- | --- |
| Reports.FeatureNotSupportedException | Invalid report format |  |
| Reports.InstanceAccessException | Unable to access report instance |  |
| Reports.InvalidFilterException | Filter validation error | List<String\> getFilterErrors() returns a list of filter errors |
| Reports.InvalidReportMetadataException | Missing metadata for filters | List<String\> getReportMetadataErrors() returns a list of metadata errors |
| Reports.InvalidSnapshotDateException | Invalid historical report format | List<String\> getSnapshotDateErrors() returns a list of snapshot date errors |
| Reports.MetadataException | No selected report columns |  |
| Reports.ReportRunException | Error running report |  |
| Reports.UnsupportedOperationException | Missing permissions for running reports |  |