Hi,
Is there a new type of Rate-limiting because we keep getting 502 errors randomly on imports, some of the response logs below, i’m way within the 600 requests within 5 minuets but keep getting the below, could someone look into this?
GET: https://api.company-information.service.gov.uk/company/04648787
502 Bad Gateway, 15067.00 ms
date:Mon, 04 Apr 2022 15:42:59 GMT
content-type:text/html
content-length:107
connection:keep-alive
access-control-allow-credentials:true
access-control-allow-headers:
X-RateLimit-Query, origin, content-type, content-length, user-agent, host, accept, authorization
access-control-expose-headers:
X-RateLimit-Window, X-RateLimit-Limit, X-RateLimit-Remain, X-RateLimit-Reset, Location, www-authenticate, cache-control, pragma, content-type, expires, last-modified
access-control-max-age:3600
cache-control:no-cache
x-ratelimit-limit:600
x-ratelimit-remain:592
x-ratelimit-reset:1649087261
x-ratelimit-window:5m
server: CompaniesHouse
"
502 Bad Gateway
The server returned an invalid or incomplete response. "
GET: https://api.companieshouse.gov.uk/company/04319452/charges
502 Bad Gateway, 15063.00 ms
date:Mon, 04 Apr 2022 15:48:48 GMT
content-type:text/html
content-length:107
connection:keep-alive
access-control-allow-credentials:true
access-control-allow-headers:
X-RateLimit-Query, origin, content-type, content-length, user-agent, host, accept, authorization
access-control-expose-headers:
X-RateLimit-Window, X-RateLimit-Limit, X-RateLimit-Remain, X-RateLimit-Reset, Location, www-authenticate, cache-control, pragma, content-type, expires, last-modified
access-control-max-age:3600
cache-control:no-cache
x-ratelimit-limit:600
x-ratelimit-remain:577
x-ratelimit-reset:1649087601
x-ratelimit-window:5m
server:CompaniesHouse
"
502 Bad Gateway
The server returned an invalid or incomplete response. "
GET: https://api.company-information.service.gov.uk/company/00930236
500 Internal Server Error, 176.60 ms
date:Mon, 04 Apr 2022 16:10:44 GMT
content-type:application/json
content-length:81
connection:keep-alive
access-control-allow-credentials:true
access-control-allow-headers:
X-RateLimit-Query, origin, content-type, content-length, user-agent, host, accept, authorization
access-control-expose-headers:
X-RateLimit-Window, X-RateLimit-Limit, X-RateLimit-Remain, X-RateLimit-Reset, Location, www-authenticate, cache-control, pragma, content-type, expires, last-modified; Location,www-authenticate,cache-control,pragma,content-type,expires,last-modified
access-control-max-age:3600
cache-control:
no-store, no-cache, must-revalidate, post-check=0, pre-check=0
pragma:no-cache
x-ratelimit-limit:600
x-ratelimit-remain:588
x-ratelimit-reset:1649088875
x-ratelimit-window:5m
server:CompaniesHouse
"
500 Internal Server Error
{ "exception_id": "fnabbycc9n05", "error": "Internal server error" }Thanks,
Matt