# API throwing 500 errors

**URL:** <https://discuss.dev.twitch.com/t/api-throwing-500-errors/1587>\
**Category:** API\
**Created:** [February 8, 2015, 10:38pm UTC](https://discuss.dev.twitch.com/t/api-throwing-500-errors/1587 "2015-02-08T22:38:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![night](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/night/32/1613_2.png) [@night](https://discuss.dev.twitch.com/u/night)\
**Post date:** [February 9, 2015, 6:00am UTC](https://discuss.dev.twitch.com/t/api-throwing-500-errors/1587/2 "2015-02-09T06:00:27Z")

</div>

Related:

> **[502 Bad Gateway on API Calls causing up to 60% failure rate for cron jobs](https://discuss.dev.twitch.com/t/502-bad-gateway-on-api-calls-causing-up-to-60-failure-rate-for-cron-jobs/1574/3)**
>
> Yes our API is flaky, yes we are working on increasing it’s stability. Most of our apps have retry logic to minimize the impact of a request failing, I’d recommend the same approach for your cron jobs. Just make sure to cap the number of retries...

---

_[View the full topic](https://discuss.dev.twitch.com/t/api-throwing-500-errors/1587)._
