# Regionmap CORS error on S3

**URL:** <https://discuss.elastic.co/t/regionmap-cors-error-on-s3/160392>\
**Category:** Kibana\
**Created:** [December 11, 2018, 2:04pm UTC](https://discuss.elastic.co/t/regionmap-cors-error-on-s3/160392 "2018-12-11T14:04:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hashitha](https://avatars.discourse-cdn.com/v4/letter/h/ce73a5/32.png) [@hashitha](https://discuss.elastic.co/u/hashitha)\
**Post date:** [December 11, 2018, 2:04pm UTC](https://discuss.elastic.co/t/regionmap-cors-error-on-s3/160392/1 "2018-12-11T14:04:19Z")

</div>

I have set the following CORS on an s3 bucket but I still get CORS error on Kibana. I am using v6.5.2 on Elastic Cloud.

```
<CORSConfiguration>
  <CORSRule>
    <AllowedOrigin>*</AllowedOrigin>
    <AllowedMethod>GET</AllowedMethod>
    <MaxAgeSeconds>3000</MaxAgeSeconds>
    <AllowedHeader>kbn-version</AllowedHeader>
  </CORSRule>
</CORSConfiguration>

```

I have also tried setting the Content-Type of the object to application/json

![image](https://us1.discourse-cdn.com/elastic/original/3X/c/6/c6e5effe44ded166835aae185fd2c5864b6b32fc.png)

URL to test  
`http://kibanageojson.s3.amazonaws.com/australian-suburbs.geojson`

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [December 12, 2018, 9:22pm UTC](https://discuss.elastic.co/t/regionmap-cors-error-on-s3/160392/2 "2018-12-12T21:22:25Z")

</div>

@thomasneirynck can you please take a look?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![avocado](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@avocado](https://discuss.elastic.co/u/avocado)\
**Post date:** [January 3, 2019, 6:48pm UTC](https://discuss.elastic.co/t/regionmap-cors-error-on-s3/160392/3 "2019-01-03T18:48:52Z")

</div>

I've got a similar issue in kibana 6.5 but was unable to solve this. Any update? Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 31, 2019, 6:48pm UTC](https://discuss.elastic.co/t/regionmap-cors-error-on-s3/160392/4 "2019-01-31T18:48:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
