# Error resource - is specification correct for "error\_values"?

**URL:** <http://forum.companieshouse.gov.uk/t/error-resource-is-specification-correct-for-error-values/886>\
**Category:** Documentation Issues\
**Created:** [December 13, 2016, 1:05pm UTC](http://forum.companieshouse.gov.uk/t/error-resource-is-specification-correct-for-error-values/886 "2016-12-13T13:05:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![voracityemail](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/v/b77776/32.png) [@voracityemail](http://forum.companieshouse.gov.uk/u/voracityemail)\
**Post date:** [December 13, 2016, 1:05pm UTC](http://forum.companieshouse.gov.uk/t/error-resource-is-specification-correct-for-error-values/886/1 "2016-12-13T13:05:54Z")

</div>

[Error resource](https://developer.companieshouse.gov.uk/api/docs/company/company_number/persons-with-significant-control/error-resource.html) specifies that the “error\_values” field returns an _array_ of objects e.g.

```
"error_values" : [
    {
      "{argument}" : "{value}"
    }
 ]

```

Is this correct or a typo? It would seem more logical if this just be a series of objects (key/values):

```
"error_values" : {
  "{argument}" : "{value}"
  ...
}

```

This would seem to be more logical and would fit with other substituted constants (e.g. filing history descriptions etc.).
