# API unavailable

**URL:** <https://api-discuss.freeagent.com/t/api-unavailable/1579>\
**Category:** Uncategorized\
**Created:** [31 July 2019 09:52 UTC](https://api-discuss.freeagent.com/t/api-unavailable/1579 "2019-07-31T09:52:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Stewart](https://api-discuss.freeagent.com/user_avatar/api-discuss.freeagent.com/andrew_stewart/32/149_2.png) [@Andrew\_Stewart](https://api-discuss.freeagent.com/u/Andrew_Stewart)\
**Post date:** [31 July 2019 09:52 UTC](https://api-discuss.freeagent.com/t/api-unavailable/1579/1 "2019-07-31T09:52:57Z")

</div>

Hello!

Several nights over the past week or so the API has been unavailable for around an hour just after midnight UTC. Is this expected or is it a temporary situation?

Many thanks in advance,

Andrew Stewart

–  
[https://doubleagent.io](https://doubleagent.io)

---

<div class="post-metadata">

**Author:** ![Pat\_George](https://api-discuss.freeagent.com/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@Pat\_George](https://api-discuss.freeagent.com/u/Pat_George)\
**Post date:** [31 July 2019 10:24 UTC](https://api-discuss.freeagent.com/t/api-unavailable/1579/2 "2019-07-31T10:24:21Z")

</div>

Hi, Andrew.

Our logs are showing a lot of activity on our API during those periods. Additionally, none of our alerting has gone off. I’m not sure what the cause it but it doesn’t seem like the API.

If you have more information, we may be able to look into it more.

Pat

---

<div class="post-metadata">

**Author:** ![Andrew\_Stewart](https://api-discuss.freeagent.com/user_avatar/api-discuss.freeagent.com/andrew_stewart/32/149_2.png) [@Andrew\_Stewart](https://api-discuss.freeagent.com/u/Andrew_Stewart)\
**Post date:** [1 August 2019 15:54 UTC](https://api-discuss.freeagent.com/t/api-unavailable/1579/3 "2019-08-01T15:54:39Z")

</div>

Hi Pat,

Thanks for the reply. How odd – I’ll post here again if I come up with any more information.

Yours,  
Andrew

---

<div class="post-metadata">

**Author:** ![david\_graham](https://api-discuss.freeagent.com/user_avatar/api-discuss.freeagent.com/david_graham/32/202_2.png) [@david\_graham](https://api-discuss.freeagent.com/u/david_graham)\
**Post date:** [2 August 2019 15:12 UTC](https://api-discuss.freeagent.com/t/api-unavailable/1579/4 "2019-08-02T15:12:49Z")

</div>

Hi Andrew,

Thanks for bearing with us while we investigated. We did see a performance issue in our database just after midnight, due to the amount of API activity that occurs during that period - indeed we did get a couple of alerts

We’ve shipped a fix today, to make the API more responsive under load.

Many thanks,

David

---

<div class="post-metadata">

**Author:** ![Andrew\_Stewart](https://api-discuss.freeagent.com/user_avatar/api-discuss.freeagent.com/andrew_stewart/32/149_2.png) [@Andrew\_Stewart](https://api-discuss.freeagent.com/u/Andrew_Stewart)\
**Post date:** [28 August 2019 11:22 UTC](https://api-discuss.freeagent.com/t/api-unavailable/1579/5 "2019-08-28T11:22:24Z")

</div>

Hi David,

I haven’t had any API-unavailable warnings since your fix. Thank you!

Yours,  
Andrew
