# Streaming API event not matching REST API

**URL:** <http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641>\
**Category:** Data Issues\
**Created:** [October 18, 2024, 8:12am UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641 "2024-10-18T08:12:50Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![wcollins](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/w/a88e4f/32.png) [@wcollins](http://forum.companieshouse.gov.uk/u/wcollins)\
**Post date:** [October 18, 2024, 8:12am UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/1 "2024-10-18T08:12:50Z")

</div>

The last company-profile event received for company 05744019 on 2024-09-30 12:53:08.309065 UTC / event timepoint 84217747 shows an incorrect next accounts due on date:

```
  "accounts": {
    "overdue": null,
    "last_accounts": {
      "period_start_on": "2022-01-01",
      "period_end_on": "2022-12-31",
      "made_up_to": "2022-12-31",
      "type": "full"
    },
    "next_due": "2024-09-30",
    "next_accounts": {
      "overdue": null,
      "period_start_on": "2023-01-01",
      "period_end_on": "2023-12-31",
      "due_on": "2024-09-30"
    },
    "next_made_up_to": "2023-12-31",
    "accounting_reference_date": {
      "month": "12",
      "day": "31"
    }

```

However on the webpage the next accounts are due 2025-09-30: [SMARTE CARTE UK LIMITED overview - Find and update company information - GOV.UK](https://find-and-update.company-information.service.gov.uk/company/05744019)

Please can this be looked into?

---

<div class="post-metadata">

**Author:** ![wcollins](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/w/a88e4f/32.png) [@wcollins](http://forum.companieshouse.gov.uk/u/wcollins)\
**Post date:** [October 23, 2024, 9:08am UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/2 "2024-10-23T09:08:17Z")

</div>

I note this company’s company-profile received a new event on 21st October with the corrected information. Thank you to whoever fixed this.

---

<div class="post-metadata">

**Author:** ![luca.delbasso](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@luca.delbasso](http://forum.companieshouse.gov.uk/u/luca.delbasso)\
**Post date:** [October 28, 2024, 3:36pm UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/3 "2024-10-28T15:36:41Z")

</div>

Hi,

I have evidence of 1491 companies where the latest made\_up\_to date from the streaming API does not align with the latest made\_up\_to date from the REST API. It looks like the streaming API’s accounts.latest\_accounts.made\_up\_to hasn’t actually been updated to the latest made\_up\_to date available.

Could this please be looked into?

Best,  
Luca

---

<div class="post-metadata">

**Author:** ![wcollins](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/w/a88e4f/32.png) [@wcollins](http://forum.companieshouse.gov.uk/u/wcollins)\
**Post date:** [October 28, 2024, 4:01pm UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/4 "2024-10-28T16:01:47Z")

</div>

1491 registration numbers with mismatches attached:  
[streaming\_vs\_rest.txt](http://forum.companieshouse.gov.uk/uploads/short-url/mIsOH8xgtZnyNi6r2foII7bEOju.txt) (80.2 KB)

---

<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:** [October 28, 2024, 4:34pm UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/5 "2024-10-28T16:34:35Z")

</div>

Thank you for taking the time to collate this and report it to us. We are investigating the issue.

---

<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:** [October 29, 2024, 10:28am UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/6 "2024-10-29T10:28:47Z")

</div>

We have found an issue with our system. While that is investigated, we have just re-issued those company profiles.  
Again thank you for taking the time to report these.

---

<div class="post-metadata">

**Author:** ![andrew\_fielder](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@andrew\_fielder](http://forum.companieshouse.gov.uk/u/andrew_fielder)\
**Post date:** [January 22, 2025, 10:43am UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/7 "2025-01-22T10:43:35Z")

</div>

Hi Mark,

is there any update on this issue, was it resolved ?

---

<div class="post-metadata">

**Author:** ![DarranCornelius](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/d/51bf81/32.png) [@DarranCornelius](http://forum.companieshouse.gov.uk/u/DarranCornelius)\
**Post date:** [January 23, 2025, 11:19am UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/8 "2025-01-23T11:19:49Z")

</div>

yes this has been resolved.

---

<div class="post-metadata">

**Author:** ![andrew.myers](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@andrew.myers](http://forum.companieshouse.gov.uk/u/andrew.myers)\
**Post date:** [January 28, 2025, 5:07pm UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/9 "2025-01-28T17:07:22Z")

</div>

I’m not sure this has been resolved yet, we’re still experiencing issues with stream events being “stale” and not matching data from the REST API

---

<div class="post-metadata">

**Author:** ![luca.delbasso](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@luca.delbasso](http://forum.companieshouse.gov.uk/u/luca.delbasso)\
**Post date:** [January 31, 2025, 1:53pm UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/10 "2025-01-31T13:53:25Z")

</div>

We’re also experiencing the issue, doesn’t seem like it is resolved.

---

<div class="post-metadata">

**Author:** ![wcollins](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/w/a88e4f/32.png) [@wcollins](http://forum.companieshouse.gov.uk/u/wcollins)\
**Post date:** [February 5, 2025, 3:05pm UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/11 "2025-02-05T15:05:50Z")

</div>

This issue appears to be quite serious and widespread - we estimate there are almost 30k companies now whose streaming API records on company-profile for period end dates & next accounts due dates do not match those of the REST API.

I appear to be unable to attach any files to the forum but can provide a list.

Please can this be looked into urgently?

---

<div class="post-metadata">

**Author:** ![wcollins](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/w/a88e4f/32.png) [@wcollins](http://forum.companieshouse.gov.uk/u/wcollins)\
**Post date:** [February 17, 2025, 4:13pm UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/12 "2025-02-17T16:13:26Z")

</div>

27k registration numbers were reported to CH as having incorrect company-profile dates were re-streamed on 2025-02-11 with corrections.

---

<div class="post-metadata">

**Author:** ![andrew.myers](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@andrew.myers](http://forum.companieshouse.gov.uk/u/andrew.myers)\
**Post date:** [February 19, 2025, 11:04am UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/13 "2025-02-19T11:04:43Z")

</div>

Even if companies are re-issued we’re still seeing non-matching data…

We’re long term users of the REST API and are trying to integrate streaming now for real-time updates. To ensure accuracy of the stream we’ll call the REST endpoint and compare

The majority of comparison differences are on `lastAccounts`, `nextAccounts` and `confirmationStatement`, which I guess would make sense if these fields are most common to change?

Also quite a few show differences on the `etag` field which I guess isn’t too important if the data matches but our understanding is this is essentially a hash of the data.

---

<div class="post-metadata">

**Author:** ![wcollins](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/w/a88e4f/32.png) [@wcollins](http://forum.companieshouse.gov.uk/u/wcollins)\
**Post date:** [February 19, 2025, 11:20am UTC](http://forum.companieshouse.gov.uk/t/streaming-api-event-not-matching-rest-api/8641/14 "2025-02-19T11:20:06Z")

</div>

We were told by CH that a fix (reported above) went in on 9th December, which apparently has fixed events after this date, but any event generated before will remain incorrect in our own records until an updated version is streamed.

We’ve pretty much given up using the Streaming API for now until we have more confidence in it.
