# Load data - python - 404

**URL:** <https://community.influxdata.com/t/load-data-python-404/28007>\
**Category:** Systems\
**Created:** [January 5, 2023, 10:47am UTC](https://community.influxdata.com/t/load-data-python-404/28007 "2023-01-05T10:47:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![phil333](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@phil333](https://community.influxdata.com/u/phil333)\
**Post date:** [January 5, 2023, 10:47am UTC](https://community.influxdata.com/t/load-data-python-404/28007/1 "2023-01-05T10:47:35Z")

</div>

Hello,

When trying to setup my new influx database, I am trying to load data via python.  
Under the “load data” tab, and under “client libraries” / “python”, I get a 404 error. This is the link that is generated.  
[http://localhost:8086/orgs/4ded76b47f35859d/new-user-setup/python](http://localhost:8086/orgs/4ded76b47f35859d/new-user-setup/python)  
Other links, such as the C# one work fine:  
[http://localhost:8086/orgs/4ded76b47f35859d/load-data/client-libraries/csharp](http://localhost:8086/orgs/4ded76b47f35859d/load-data/client-libraries/csharp)

I am hosting the database in a docker container.

---

<div class="post-metadata">

**Author:** ![Jay\_Clifford](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jay_clifford/32/8287_2.png) [@Jay\_Clifford](https://community.influxdata.com/u/Jay_Clifford)\
**Post date:** [January 6, 2023, 11:48am UTC](https://community.influxdata.com/t/load-data-python-404/28007/2 "2023-01-06T11:48:25Z")

</div>

Hi @phil333,  
Could you copy your final python code into a code block and we can take a look?  
Are you also running the python code within a container or just locally?

---

<div class="post-metadata">

**Author:** ![phil333](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@phil333](https://community.influxdata.com/u/phil333)\
**Post date:** [January 6, 2023, 12:15pm UTC](https://community.influxdata.com/t/load-data-python-404/28007/3 "2023-01-06T12:15:22Z")

</div>

Hey, I don’t have any code just yet. I just setup the influxdb and was looking for some boilerplate code to start with. Does the default docker container not come with python?

---

<div class="post-metadata">

**Author:** ![Jay\_Clifford](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jay_clifford/32/8287_2.png) [@Jay\_Clifford](https://community.influxdata.com/u/Jay_Clifford)\
**Post date:** [January 9, 2023, 11:44am UTC](https://community.influxdata.com/t/load-data-python-404/28007/4 "2023-01-09T11:44:16Z")

</div>

Hi @phil333,  
No, I would also not plan to run python code within your InfluxDB container. I would consider making that its own container. You can find examples of writing python code for InfluxDB here:

> **[GitHub - influxdata/influxdb-client-python: InfluxDB 2.0 python client](https://github.com/influxdata/influxdb-client-python)**
>
> InfluxDB 2.0 python client. Contribute to influxdata/influxdb-client-python development by creating an account on GitHub.

Note that if you build your python code into a container you need to play by the docker network rules:

```auto
Make sure all containers are on the same docker network
When connecting to influxdb via another container. your URL will change to: http://influxdb:8086

```

---

<div class="post-metadata">

**Author:** ![phil333](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@phil333](https://community.influxdata.com/u/phil333)\
**Post date:** [January 9, 2023, 12:54pm UTC](https://community.influxdata.com/t/load-data-python-404/28007/5 "2023-01-09T12:54:03Z")

</div>

Thank you! I will have a look!

---

<div class="post-metadata">

**Author:** ![ebalsley-nflx](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/ebalsley-nflx/32/12289_2.png) [@ebalsley-nflx](https://community.influxdata.com/u/ebalsley-nflx)\
**Post date:** [January 25, 2023, 8:12pm UTC](https://community.influxdata.com/t/load-data-python-404/28007/6 "2023-01-25T20:12:53Z")

</div>

I have the same problem but I’m not using Docker. I installed the debian version of InfluxDB v2.6.1 (git: 9dcf880fe0) and it’s running via systemd. All the other data source buttons work but the Python button returns 404 error. The URL is like this: [http://x.x.x.x:8086/orgs/1c98084debc13d47/new-user-setup/python](http://x.x.x.x:8086/orgs/1c98084debc13d47/new-user-setup/python). I haven’t written any python code yet, I was just trying to do the inital setup.

---

<div class="post-metadata">

**Author:** ![Jay\_Clifford](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jay_clifford/32/8287_2.png) [@Jay\_Clifford](https://community.influxdata.com/u/Jay_Clifford)\
**Post date:** [January 31, 2023, 10:03am UTC](https://community.influxdata.com/t/load-data-python-404/28007/7 "2023-01-31T10:03:21Z")

</div>

Hi @ebalsley-nflx,  
This is a known issue in the UI. I will log the ticket. Please follow the link given above to the primary repo and checkout the examples there.
