3scale API Docs Stats Usage endpoint returning 400 error

Solution Verified - Updated -

Issue

When using the Analytics API with a granularity=day and a time range greater than 1 year the following error message is being returned:

400 error: {"error":"Time range for the granularity must be less than 1 year"}

Why is this happening?

Environment

  • Red Hat 3scale API Management
    • 2-SaaS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content