# API 404 Response

**URL:** <https://discuss.circleci.com/t/api-404-response/32496>\
**Category:** Integrations and Accounts\
**Tags:** api\
**Created:** [September 17, 2019, 7:48pm UTC](https://discuss.circleci.com/t/api-404-response/32496 "2019-09-17T19:48:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmickey](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jmickey/32/23164_2.png) [@jmickey](https://discuss.circleci.com/u/jmickey)\
**Post date:** [September 17, 2019, 7:48pm UTC](https://discuss.circleci.com/t/api-404-response/32496/1 "2019-09-17T19:48:28Z")

</div>

Hi,

Can the 404 response from the API please return a JSON response rather than a giant blob of HTML? The current configuration produces a very inconsistent experience when developing against the API.

Cheers,  
Josh

---

<div class="post-metadata">

**Author:** ![gmemstr](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/gmemstr/32/22922_2.png) [@gmemstr](https://discuss.circleci.com/u/gmemstr)\
**Post date:** [December 11, 2019, 1:44pm UTC](https://discuss.circleci.com/t/api-404-response/32496/2 "2019-12-11T13:44:47Z")

</div>

Hi @jmickey, would you be able to point towards a specific endpoint you’re experiencing this with? The easiest way around this would be to check the response code before trying to parse the response body, which would remove some inconsistency.
