# Getting 403 responses on SearchCompanies -GET call

**URL:** <http://forum.companieshouse.gov.uk/t/getting-403-responses-on-searchcompanies-get-call/2731>\
**Category:** API Issues\
**Created:** [November 11, 2019, 6:36am UTC](http://forum.companieshouse.gov.uk/t/getting-403-responses-on-searchcompanies-get-call/2731 "2019-11-11T06:36:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arek](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/a/46a35a/32.png) [@arek](http://forum.companieshouse.gov.uk/u/arek)\
**Post date:** [November 11, 2019, 6:36am UTC](http://forum.companieshouse.gov.uk/t/getting-403-responses-on-searchcompanies-get-call/2731/1 "2019-11-11T06:36:24Z")

</div>

Hi, we’ve just started receiving 403 responses on the API. Please could someone get in touch to let me know why and how we can resolve this? Many thanks.  
We have update the api key and its working fine on beta domain but using the same key we are getting 403 on prod environment.Although we have registered both the apps under my applications.

getting below error

Access to XMLHttpRequest at ‘[https://api.companieshouse.gov.uk/company/00039828](https://api.companieshouse.gov.uk/company/00039828)’ from origin ‘[https://www.pensionfundsonline.co.uk](https://www.pensionfundsonline.co.uk)’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

---

<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:** [November 11, 2019, 4:33pm UTC](http://forum.companieshouse.gov.uk/t/getting-403-responses-on-searchcompanies-get-call/2731/2 "2019-11-11T16:33:06Z")

</div>

Please try a search on the forum, e.g. [https://forum.aws.chdev.org/search?q=Access-Control-Allow-Origin](https://forum.aws.chdev.org/search?q=Access-Control-Allow-Origin)
