Hi,
The API seems to be randomly returning errors sometimes. We have made no changes to our system before these issues started occurring. Below are some examples (times are in 24hr format):
- Failed to query [https://api.company-information.service.gov.uk/company/10982215/officers?start_index=0&items_per_page=50]. HTTP Status [401] - 06/04/2024 13:32
- Failed to query [https://api.company-information.service.gov.uk/officers/MicOiUDRosym_d4auCpyMY7IttI/appointments?start_index=0&items_per_page=50]. HTTP Status [401] - 07/04/2024 13:27
- Failed to query [https://api.company-information.service.gov.uk/company/05168756/officers?start_index=0&items_per_page=50]. HTTP Status [503] - 08/04/2024 11:25
- Failed to query [https://api.company-information.service.gov.uk/officers/QtkiktPQ3mR8L1qPVK7Ad2Yleig/appointments?start_index=0&items_per_page=50]. HTTP Status [401] - 08/04/2024 11:25
- Failed to query [https://api.company-information.service.gov.uk/company/15341637/officers?start_index=0&items_per_page=50]. HTTP Status [401] - 08/04/2024 14:28
- Failed to query [https://api.company-information.service.gov.uk/company/15345807/officers?start_index=0&items_per_page=50]. HTTP Status [401] - 08/04/2024 14:28
Can you please confirm whether there were/are any API issues corresponding to those timestamps? I have checked the health of the api and it seems to be ok, but I am not sure how much confidence can be put in that call:
curl -I -k -X GET -H “Cache-Control: no-cache” https://api.companieshouse.gov.uk/healthcheck
HTTP/1.1 200 OK
Date: Mon, 08 Apr 2024 15:19:08 GMT
Content-Length: 0
Connection: keep-alive
Server: CompaniesHouse
Regards