# Missing UI indication to add MAxMindDB address key

**URL:** https://meta.discourse.org/t/missing-ui-indication-to-add-maxminddb-address-key/231466
**Category:** Feature
**Tags:** maxmind
**Created:** [June 29, 2022, 3:51pm UTC](https://meta.discourse.org/t/missing-ui-indication-to-add-maxminddb-address-key/231466 "2022-06-29T15:51:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [June 29, 2022, 3:51pm UTC](https://meta.discourse.org/t/missing-ui-indication-to-add-maxminddb-address-key/231466/1 "2022-06-29T15:51:43Z")

</div>

I’ve been noticing for a long time that the “IP Address Lookup” never returned a location, but kept telling myself that was because of the IPs being uncommon… until I found this:

> [@IP address lookup always unknow location](https://meta.discourse.org/t/ip-address-lookup-always-unknow-location/147616):
>
> Do the lookup operation on users admin view always get unknow location and no any logs at the same time. Lookup the same ip address at [GeoIP web services demo | MaxMind](https://www.maxmind.com/en/geoip2-precision-demo) can get a vaild result. No idea how to troubleshoot, any tips?

Turns out I was deluding myself, because Discourse never told me I should an an API key.

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/5/c/95ccdb44dc2da3899bf0ca862611a81fb290be28.png)

Could that be fixed?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 29, 2022, 4:09pm UTC](https://meta.discourse.org/t/missing-ui-indication-to-add-maxminddb-address-key/231466/2 "2022-06-29T16:09:01Z")

</div>

> [@dandv](#):
>
> Could that be fixed?

If you run `./discourse-setup` or edit your `app.yml` there is a clear place to enter your Maxmind API key.

I don’t think that it’s possible/easy to put it in Discourse, as (I’m pretty sure that) the magic that downloads the database is external to Discourse.
