# ESI API returning malformed response

**URL:** <https://forums.eveonline.com/t/esi-api-returning-malformed-response/389220>\
**Category:** Third Party Developers\
**Tags:** api, bug-reporting\
**Created:** [December 23, 2022, 5:01am UTC](https://forums.eveonline.com/t/esi-api-returning-malformed-response/389220 "2022-12-23T05:01:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Packtu\_sa](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/packtu_sa/32/493460_2.png) [@Packtu\_sa](https://forums.eveonline.com/u/Packtu_sa)\
**Post date:** [December 23, 2022, 5:01am UTC](https://forums.eveonline.com/t/esi-api-returning-malformed-response/389220/1 "2022-12-23T05:01:30Z")

</div>

Today, the contracts/public/items/{contractId} API started returning malformed responses. According to ESI, it should return 204 No Content when the contract has been accepted. I’m instead getting HTTP 200 OK responses with an empty response body, which breaks existing applications that expect a JSON response.

This worked as of yesterday. Anyone know if a change was pushed to the API? It would be really interesting if so, since we haven’t seen much development on the API in a while.

---

<div class="post-metadata">

**Author:** ![Golden\_Gnu](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/golden_gnu/32/459734_2.png) [@Golden\_Gnu](https://forums.eveonline.com/u/Golden_Gnu)\
**Post date:** [December 23, 2022, 11:47am UTC](https://forums.eveonline.com/t/esi-api-returning-malformed-response/389220/2 "2022-12-23T11:47:26Z")

</div>

I know they fixed a problem were some pages of paged responses was not updated when the cached expired. I don’t think they have changed anything else recently. I think the change was a few days back, though.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [March 23, 2023, 11:48am UTC](https://forums.eveonline.com/t/esi-api-returning-malformed-response/389220/3 "2023-03-23T11:48:23Z")

</div>

Closed on March 23, 2023, 11:48am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
