# PSC not giving a response

**URL:** <http://forum.companieshouse.gov.uk/t/psc-not-giving-a-response/6351>\
**Category:** API Issues\
**Created:** [May 24, 2023, 11:35am UTC](http://forum.companieshouse.gov.uk/t/psc-not-giving-a-response/6351 "2023-05-24T11:35:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kap](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/k/67e7ee/32.png) [@kap](http://forum.companieshouse.gov.uk/u/kap)\
**Post date:** [May 24, 2023, 11:35am UTC](http://forum.companieshouse.gov.uk/t/psc-not-giving-a-response/6351/1 "2023-05-24T11:35:18Z")

</div>

So if there is a psc statement, works fine, if it has people listed then just returns 1. Something changed or an internal error?

[https://api.companieshouse.gov.uk/company/12334486/persons-with-significant-control-statements](https://api.companieshouse.gov.uk/company/12334486/persons-with-significant-control-statements)

error

[https://api.companieshouse.gov.uk/company/12173467/persons-with-significant-control-statements](https://api.companieshouse.gov.uk/company/12173467/persons-with-significant-control-statements)

fine

---

<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:** [May 24, 2023, 7:58pm UTC](http://forum.companieshouse.gov.uk/t/psc-not-giving-a-response/6351/2 "2023-05-24T19:58:22Z")

</div>

Welcome - in this case the first company - [12334486](https://find-and-update.company-information.service.gov.uk/company/12334486/persons-with-significant-control) - has no PSC statements. The second one - [12173467](https://find-and-update.company-information.service.gov.uk/company/12173467/persons-with-significant-control) - has statements. I have linked to the online Companies House site so you can see that.

So if you request the URL ending `persons-with-significant-control-statements` (the Statements Endpoint) [as the documentation says you get a http 404 response code (not found)](https://developer-specs.company-information.service.gov.uk/companies-house-public-data-api/reference/persons-with-significant-control/list-statements) and no data (http response body).

If you want to find out whether there are statements or not you can either call this endpoint and trap any errors OR if you examine the Company profile - e.g. request:

`https://api.companieshouse.gov.uk/company/12334486`

… and examine the `links` member of the response (a [CompanyProfile resource](https://developer-specs.company-information.service.gov.uk/companies-house-public-data-api/resources/companyprofile?v=latest)) for a `persons_with_significant_control_statements` member there. If there are PSCs you should find a `persons_with_significant_control member` in `links`.

Note you can have _both_ statement(s) _and_ a list of PSCs in some cases. Here is an “Overseas Entity” example (linked to the online site):

[https://api.companieshouse.gov.uk/company/OE001282/persons-with-significant-control](https://find-and-update.company-information.service.gov.uk/company/OE001282/persons-with-significant-control)

Here’s the company profile resource from your second example - I have formatted it and removed some of the fields for clarity (indicated with a “…”)

```
{
    "company_number": "12334486",
    "links": {
        "self": "/company/12334486",
        "filing_history": "/company/12334486/filing-history",
        "persons_with_significant_control": "/company/12334486/persons-with-significant-control",
        "officers": "/company/12334486/officers"
    },
    ...
}

```

Hope this helps.

---

<div class="post-metadata">

**Author:** ![MArkWilliams](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/markwilliams/32/194_2.png) [@MArkWilliams](http://forum.companieshouse.gov.uk/u/MArkWilliams)\
**Post date:** [May 30, 2023, 7:22am UTC](http://forum.companieshouse.gov.uk/t/psc-not-giving-a-response/6351/3 "2023-05-30T07:22:50Z")

</div>

Yes, something did change.

We made the change to remove the error json when statements were not found for two reasons.  
· The error message for failing to retrieve PSC statements was incorrect as it made reference to PSCs instead of statements  
· Not having an error json made error handling easier to work with for our internal apps

Hope that clarifies the situation.

---

<div class="post-metadata">

**Author:** ![kap](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/k/67e7ee/32.png) [@kap](http://forum.companieshouse.gov.uk/u/kap)\
**Post date:** [May 30, 2023, 7:53am UTC](http://forum.companieshouse.gov.uk/t/psc-not-giving-a-response/6351/4 "2023-05-30T07:53:30Z")

</div>

Hi Mark,

Thanks for clarifying. Before my script was going of the error and now it breaks down. Would be a simple enough update but was just making sure this is something that was intended,
