# Fail to downoad MaxMind Geo Lite2 City

**URL:** <https://forum.mautic.org/t/fail-to-downoad-maxmind-geo-lite2-city/30521>\
**Category:** Product Support\
**Created:** [January 16, 2024, 6:09pm UTC](https://forum.mautic.org/t/fail-to-downoad-maxmind-geo-lite2-city/30521 "2024-01-16T18:09:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andre.parente](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@andre.parente](https://forum.mautic.org/u/andre.parente)\
**Post date:** [January 16, 2024, 6:09pm UTC](https://forum.mautic.org/t/fail-to-downoad-maxmind-geo-lite2-city/30521/1 "2024-01-16T18:09:52Z")

</div>

**Your software**  
My Mautic version is: 5.0.1  
My PHP version is: 7.4

**Your problem**  
My problem is:  
I have tried to dowload the MaxMind GeoLite2 City using the authentication as userID:LicenseKey, but when try to download no action can be noted. No sucessfull or fail message.

These errors are showing in the log:

Steps I have tried to fix the problem:  
Tried several times to insert accountID and LicenseKey

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [March 15, 2024, 9:43pm UTC](https://forum.mautic.org/t/fail-to-downoad-maxmind-geo-lite2-city/30521/2 "2024-03-15T21:43:25Z")

</div>

I think this is the same issue I am encountering, I’ve logged a bug here:

> <https://github.com/mautic/mautic/issues/13554>
>
> \### Mautic Version
> 
> 5.0.x series
> 
> \### Way of installing
> 
> I downloaded a release …from https://www.mautic.org/mautic-releases
> 
> \### PHP version
> 
> 8.1
> 
> \### What browsers are you seeing the problem on?
> 
> Not relevant
> 
> \### What happened?
> 
> When configuring Maxmind as per the documentation, clicking the button fails silently and running the CLI command results in an error.
> 
> I suspect this is related to https://forum.mautic.org/t/fail-to-downoad-maxmind-geo-lite2-city/30521.
> 
> \### How can we reproduce this issue?
> 
> Step 1: Configure Maxmind per settings here: https://docs.mautic.org/en/5.x/configuration/maxmind\_license.html
> Step 2: Click the button to pull the database
> Step 3: Try to run the CLI command \`bin/console mautic:iplookup:download\`
> 
> \### Relevant log output
> 
> \`\`\`shell
> \[2024-03-15T21:32:25.769185+00:00\] console.CRITICAL: Error thrown while running command "mautic:iplookup:download". Message: "Call to a member function getBody() on null" {"exception":"\[object\] (Error(code: 0): Call to a member function getBody() on null at /app/bundles/CoreBundle/IpLookup/AbstractLocalDataLookup.php:91)","command":"mautic:iplookup:download","message":"Call to a member function getBody() on null"}
> 
> \[2024-03-15T21:32:25.769594+00:00\] php.CRITICAL: Uncaught Error: Call to a member function getBody() on null {"exception":"\[object\] (Error(code: 0): Call to a member function getBody() on null at /app/bundles/CoreBundle/IpLookup/AbstractLocalDataLookup.php:91)"}
> \`\`\`
> 
> 
> \### Code of Conduct
> 
> \- \[X\] I confirm that I have read and agree to follow this project's Code of Conduct
> 
> \<br /\>\<hr\>
> Care about this issue? Want to get it resolved sooner? If you are a \<a href='https://www.mautic.org/become-a-member-of-mautic'\>member of Mautic\</a\>, you can add some funds to the \<a href='https://opencollective.com/mautic/projects/bounties'\>Bounties Project\</a\> so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs \<a href='https://contribute.mautic.org/product-team/mautic-bounty-programme'\>here.\</a\>

Do you see the same error in your logs?
