# Company 00082892 Links Insolvency, but returns null when getting link

**URL:** <http://forum.companieshouse.gov.uk/t/company-00082892-links-insolvency-but-returns-null-when-getting-link/6877>\
**Category:** API Issues\
**Created:** [September 25, 2023, 12:30am UTC](http://forum.companieshouse.gov.uk/t/company-00082892-links-insolvency-but-returns-null-when-getting-link/6877 "2023-09-25T00:30:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@dan](http://forum.companieshouse.gov.uk/u/dan)\
**Post date:** [September 25, 2023, 12:30am UTC](http://forum.companieshouse.gov.uk/t/company-00082892-links-insolvency-but-returns-null-when-getting-link/6877/1 "2023-09-25T00:30:09Z")

</div>

command get company

```auto
curl -u 801932d9-9bdc-4428-b413-61ef40f0e791: https://api.company-information.service.gov.uk/company/00082892

```

returns json with Insolvency link

```auto
{"jurisdiction":"england-wales","company_name":"00082892 LTD","etag":"27a6d0bfd5815e259b1d56ffee725fa0a7612b86","has_insolvency_history":true,"has_charges":true,"previous_company_names":[{"effective_from":"1904-12-15","ceased_on":"1988-09-22","name":"LONSDALE & BARTHOLOMEW LIMITED"}],"annual_return":{"last_made_up_to":"1989-08-23","overdue":true},"last_full_members_list_date":"1989-08-23","undeliverable_registered_office_address":false,"type":"ltd","date_of_creation":"1904-12-15","accounts":{"last_accounts":{"made_up_to":"1988-12-31","type":"total-exemption-full"},"next_due":"1990-10-31","next_made_up_to":"1989-12-31","accounting_reference_date":{"month":"12","day":"31"},"overdue":true,"next_accounts":{"due_on":"1990-10-31","overdue":true,"period_end_on":"1989-12-31","period_start_on":"1904-12-15"}},"company_status":"active","registered_office_address":{"address_line_2":"Netherfield","address_line_1":"Forester Street","locality":"Nottingham","postal_code":"NG4 2LL"},"company_number":"00082892","links":{"self":"/company/00082892","filing_history":"/company/00082892/filing-history","officers":"/company/00082892/officers","charges":"/company/00082892/charges","insolvency":"/company/00082892/insolvency"},"can_file":true}

```

command Get Insolvency

```auto
curl -u 801932d9-9bdc-4428-b413-61ef40f0e791: https://api.company-information.service.gov.uk/company/00082892/insolvency

```

returns nothing

```auto

```

---

<div class="post-metadata">

**Author:** ![ebrian101](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/ebrian101/32/1145_2.png) [@ebrian101](http://forum.companieshouse.gov.uk/u/ebrian101)\
**Post date:** [September 25, 2023, 9:44am UTC](http://forum.companieshouse.gov.uk/t/company-00082892-links-insolvency-but-returns-null-when-getting-link/6877/2 "2023-09-25T09:44:55Z")

</div>

I think you mistakenly included the insolvency path in the first curl snippet. Perhaps you meant:

```auto
curl -u 801932d9-9bdc-4428-b413-61ef40f0e791: https://api.company-information.service.gov.uk/company/00082892

```

For the company profile.

Also, I wouldn’t recommend posting your actual API key to public forums.

In this case, it looks like the company was restored by court order and is deemed to have continued in existence:

 ![image](http://discourselive.s3.dualstack.eu-west-1.amazonaws.com/original/2X/4/4a0d332742098090b4769d1fa3e909b365532f37.png)

---

<div class="post-metadata">

**Author:** ![dan](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@dan](http://forum.companieshouse.gov.uk/u/dan)\
**Post date:** [September 25, 2023, 10:10am UTC](http://forum.companieshouse.gov.uk/t/company-00082892-links-insolvency-but-returns-null-when-getting-link/6877/3 "2023-09-25T10:10:51Z")

</div>

If the company was restored, shouldn’t the insolvency link go away then?

As for API key, this is just a test api key. I’ll keep the real ones safe.

---

<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:** [September 25, 2023, 10:49am UTC](http://forum.companieshouse.gov.uk/t/company-00082892-links-insolvency-but-returns-null-when-getting-link/6877/4 "2023-09-25T10:49:41Z")

</div>

I’m not sure that there are any rules about consistency when it comes to restored companies. Particularly like here when the company was dissolved a certain time prior to all companies data being registered digitally (or at least in / available via the current dataset). Companies House had a cut-off date when setting this up - see e.g.:  
[https://forum.aws.chdev.org/t/company-address-data-missing-following-restoration/1108/3](https://forum.aws.chdev.org/t/company-address-data-missing-following-restoration/1108/3)

This is a particularly odd one (just try [viewing it in the web search and clicking through the tabs e.g. insolvency tab and the minimal filing history](https://find-and-update.company-information.service.gov.uk/company/00082892/filing-history)…). These restored companies do seem to be a bit of a “special case” (e.g. [situations like this appear](https://forum.aws.chdev.org/t/active-companies-with-date-of-cessation/666)).

It would maybe be useful if there was a flag / indication of this e.g. in the Company Profile. (There is a `has_been_liquidated` but that presumably doesn’t apply here, it’s not set anyway). Given how some of the other flags work however it would probably be set once and no matter what happened after that’s it!
