# Filing-history api inconsistent types

**URL:** <http://forum.companieshouse.gov.uk/t/filing-history-api-inconsistent-types/2640>\
**Category:** API Issues\
**Created:** [October 2, 2019, 1:24pm UTC](http://forum.companieshouse.gov.uk/t/filing-history-api-inconsistent-types/2640 "2019-10-02T13:24:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_hurdsfield](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@steve\_hurdsfield](http://forum.companieshouse.gov.uk/u/steve_hurdsfield)\
**Post date:** [October 2, 2019, 1:24pm UTC](http://forum.companieshouse.gov.uk/t/filing-history-api-inconsistent-types/2640/1 "2019-10-02T13:24:39Z")

</div>

Im calling the filing history api for e.g. [https://api.companieshouse.gov.uk/company/SC435546/filing-history/](https://api.companieshouse.gov.uk/company/SC435546/filing-history/)

The issue is the **subcategory** field. The docs say its a string but the example above returns some items as strings but some entries are arrays. Can this be changed so that they are consistent types?
