# 83604: The requested query period exceeds the maximum allowed period for the requested Granularity

Log Type: APPLICATION

Log Level: ERROR

## Description

Requests for Usage Records with granularity "all" may only query up to 18 months of data, granularity "day" may query up to 3 months of data, and granularity "hour" may query up to 31 days of data.

### Possible causes

* This happens if you request Usage Records with StartTime or EndTime parameters defining a time range exceeding the maximum allowed threshold for a given Granularity.

### Possible solutions

* Adjust your StartTime or EndTime parameters so that the time range is less than or equal to the threshold allowed for the desired Granularity.
