# Internal Server Error on long/large queries

**URL:** <https://community.grafana.com/t/internal-server-error-on-long-large-queries/29732>\
**Category:** Grafana\
**Created:** [May 5, 2020, 9:28am UTC](https://community.grafana.com/t/internal-server-error-on-long-large-queries/29732 "2020-05-05T09:28:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunaticzorr](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/lunaticzorr/32/10666_2.png) [@lunaticzorr](https://community.grafana.com/u/lunaticzorr)\
**Post date:** [May 5, 2020, 9:28am UTC](https://community.grafana.com/t/internal-server-error-on-long-large-queries/29732/1 "2020-05-05T09:28:26Z")

</div>

Hello,

We’re getting an internal server error whenever we try to create a graph using a timerange longer than 30 days. Is there any way to debug and solve this?

Regards,  
Kevin

---

<div class="post-metadata">

**Author:** ![artyrmsergeev](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@artyrmsergeev](https://community.grafana.com/u/artyrmsergeev)\
**Post date:** [October 28, 2020, 1:39pm UTC](https://community.grafana.com/t/internal-server-error-on-long-large-queries/29732/2 "2020-10-28T13:39:40Z")

</div>

Same here, but timeranges differ. For 40 graphs with 30s data intervals we have this error on \>162 days. For 28 graphs with 5s data intervals even in 24 hours.

I see, there is no help on that?
