# 502 Bad Gateway calling /search/companies

**URL:** <http://forum.companieshouse.gov.uk/t/502-bad-gateway-calling-search-companies/980>\
**Category:** API Issues\
**Created:** [February 10, 2017, 3:13pm UTC](http://forum.companieshouse.gov.uk/t/502-bad-gateway-calling-search-companies/980 "2017-02-10T15:13:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![amcalvert](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/a/3ab097/32.png) [@amcalvert](http://forum.companieshouse.gov.uk/u/amcalvert)\
**Post date:** [February 10, 2017, 3:13pm UTC](http://forum.companieshouse.gov.uk/t/502-bad-gateway-calling-search-companies/980/1 "2017-02-10T15:13:32Z")

</div>

We’re currently receiving a 502 Bad gateway error making requests to /search/companies. Is there a known outage going on?

---

<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:** [February 14, 2017, 10:22am UTC](http://forum.companieshouse.gov.uk/t/502-bad-gateway-calling-search-companies/980/2 "2017-02-14T10:22:12Z")

</div>

Sorry for the delay in replying.  
We did have issues on Thursday between 14:40 - 15:10hrs which effected the search service.  
apologies for any inconvenience that may have caused you.

---

<div class="post-metadata">

**Author:** ![phillips\_chris](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/p/48db29/32.png) [@phillips\_chris](http://forum.companieshouse.gov.uk/u/phillips_chris)\
**Post date:** [February 16, 2017, 3:50pm UTC](http://forum.companieshouse.gov.uk/t/502-bad-gateway-calling-search-companies/980/3 "2017-02-16T15:50:32Z")

</div>

Hi,

This is only a few days ago, so I’m wondering whether it is the same issue.  
If we use tha API to search on ‘Axa’ we get:

# 502 Bad Gateway
The server returned an invalid or incomplete response.

returned by the webservice.  
Other searches suchas for ‘Axa ltd’ work.

Currently this behaviour is repeatable over two separate PCs/Routers/Broadband and over a period of half an hour (so far)

Regards,  
Chris

---

<div class="post-metadata">

**Author:** ![SteveBowen](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@SteveBowen](http://forum.companieshouse.gov.uk/u/SteveBowen)\
**Post date:** [February 16, 2017, 4:03pm UTC](http://forum.companieshouse.gov.uk/t/502-bad-gateway-calling-search-companies/980/4 "2017-02-16T16:03:01Z")

</div>

Yes, we have recently experienced high usage which caused the Search Service to become degraded. Things have settled down so this should be operational again.

Apologies for any inconvenience

---

<div class="post-metadata">

**Author:** ![phillips\_chris](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/p/48db29/32.png) [@phillips\_chris](http://forum.companieshouse.gov.uk/u/phillips_chris)\
**Post date:** [February 16, 2017, 4:15pm UTC](http://forum.companieshouse.gov.uk/t/502-bad-gateway-calling-search-companies/980/5 "2017-02-16T16:15:03Z")

</div>

Hi,

I’m afraid we still have the same problem.

Regards,  
Chris

---

<div class="post-metadata">

**Author:** ![phillips\_chris](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/p/48db29/32.png) [@phillips\_chris](http://forum.companieshouse.gov.uk/u/phillips_chris)\
**Post date:** [February 17, 2017, 8:42am UTC](http://forum.companieshouse.gov.uk/t/502-bad-gateway-calling-search-companies/980/6 "2017-02-17T08:42:41Z")

</div>

Hi,

No longer getting ‘Bad Gateway’ but have another problem with non-date values in date field, so have added to previous issue on this subject.

Regards,  
Chris
