# Getting a 403 when trying to download a GPG key / install filebeat

**URL:** <https://discuss.elastic.co/t/getting-a-403-when-trying-to-download-a-gpg-key-install-filebeat/325447>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 14, 2023, 7:55am UTC](https://discuss.elastic.co/t/getting-a-403-when-trying-to-download-a-gpg-key-install-filebeat/325447 "2023-02-14T07:55:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueIceAce](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blueiceace/32/117266_2.png) [@BlueIceAce](https://discuss.elastic.co/u/BlueIceAce)\
**Post date:** [February 14, 2023, 7:55am UTC](https://discuss.elastic.co/t/getting-a-403-when-trying-to-download-a-gpg-key-install-filebeat/325447/1 "2023-02-14T07:55:43Z")

</div>

Hey, guys!

I get a 403 error when I try to download the GPG key, as well as when installing filebeat through apt repository.

Adding a GPG key via Ansible:

```auto
"msg": "Failed to download key at https://artifacts.elastic.co/GPG-KEY-elasticsearch: HTTP Error 403: Forbidden"

```

"apt-get update" command output:

```auto
Err:8 https://artifacts.elastic.co/packages/8.x/apt stable InRelease
  403 Forbidden [IP: 2600:1901:0:1d7:: 443]

```

"ip a" command output:

```auto
inet 5.181.27.38/32
inet6 2a03:90c0:146::462/125
inet6 fe80::5054:ff:fe4b:8f7b/64

```

I assume that my ip address from 5.181.27.0/24 CIDR was added to the blacklist by mistake. My servers are located in Europe, as well as in the UK, please unblock the IP address as soon as possible.

Thank you. A big shout-out to your best product in da world! 🙂

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 14, 2023, 8:56am UTC](https://discuss.elastic.co/t/getting-a-403-when-trying-to-download-a-gpg-key-install-filebeat/325447/2 "2023-02-14T08:56:00Z")

</div>

Welcome to our community! 😃

Check out [Are you getting 403's when downloading? Please read here first](https://discuss.elastic.co/t/are-you-getting-403s-when-downloading-please-read-here-first/307340/) please.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 14, 2023, 8:56am UTC](https://discuss.elastic.co/t/getting-a-403-when-trying-to-download-a-gpg-key-install-filebeat/325447/3 "2023-02-14T08:56:03Z")

</div>


