# 'NoneType' object not iterable

**URL:** <https://forum.weaviate.io/t/nonetype-object-not-iterable/2645>\
**Category:** Support\
**Created:** [June 7, 2024, 2:51pm UTC](https://forum.weaviate.io/t/nonetype-object-not-iterable/2645 "2024-06-07T14:51:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mchu249](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mchu249](https://forum.weaviate.io/u/mchu249)\
**Post date:** [June 7, 2024, 2:51pm UTC](https://forum.weaviate.io/t/nonetype-object-not-iterable/2645/1 "2024-06-07T14:51:14Z")

</div>

### Description

I installed Verba using the Docker method from the Github, but when I deploy it and type something in the chat of the local site, I get the error “Something went wrong: ‘NoneType’ object not iterable” and it stays on “retrieving chunks” unless I refresh the page. I saw the previous post on here where they fixed this by deleting Verba an redownloading it, and I tried this, but it did not fix the issue for me. I am wondering if something else could be wrong with my setup/installation. Everything else seems to be running fine (as far as I can tell) as all the environment variables appear and I can upload documents successfully.

### Server Setup Information

- Weaviate Server Version:
- Deployment Method: Docker/Ollama
- Multi Node? Number of Running Nodes:
- Client Language and Version:
- Multitenancy?:

### Any additional Information

There is nothing in my .env file because changing it did not seem to affect how Verba was running at all. Previously had the Ollama\_URL and Ollama\_Model set.

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [June 7, 2024, 5:47pm UTC](https://forum.weaviate.io/t/nonetype-object-not-iterable/2645/2 "2024-06-07T17:47:07Z")

</div>

hi @mchu249 !

I am not familiar with this error.

Can you check Weaviate logs and get some tracebacks?

Otherwise, a way to reproduce it also could help.

Thanks!

---

<div class="post-metadata">

**Author:** ![mchu249](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mchu249](https://forum.weaviate.io/u/mchu249)\
**Post date:** [June 7, 2024, 6:45pm UTC](https://forum.weaviate.io/t/nonetype-object-not-iterable/2645/3 "2024-06-07T18:45:48Z")

</div>

This is what I see in the logs after I send something in the chat and get the NoneType error, let me know if this is what you are looking for:

![image](https://canada1.discourse-cdn.com/flex027/uploads/weaviate/original/2X/e/ee0b5ca4daf1ffa695e958c75c8cc4b794eedea9.png)

What I did exactly was I just downloaded git, Docker Desktop, and then following the steps on the Github to install Verba with Docker. I created the .env file in the Verba directory that was created after cloning it and added OLLAMA\_MODEL = llama3 and OLLAMA\_URL = [http://host.docker.internal:11434](http://host.docker.internal:11434). In the docker-compose.yml, I modified those two keys too but that was it. After, I ran the docker commands to start up Verba.

---

<div class="post-metadata">

**Author:** ![Andy\_G](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/andy_g/32/1805_2.png) [@Andy\_G](https://forum.weaviate.io/u/Andy_G)\
**Post date:** [June 25, 2024, 11:16am UTC](https://forum.weaviate.io/t/nonetype-object-not-iterable/2645/4 "2024-06-25T11:16:01Z")

</div>

Hi  
I had the same issue, that was a config issue in the .env file I’ve created. Using Ollama, i accidentally applied all the Params for Ollama, that made the confusion.

Wrong:  
OLLAMA\_URL=[http://localhost:11434](http://localhost:11434)  
OLLAMA\_MODEL=llama3  
OLLAMA\_EMBED\_MODEL=mxbai-embed-large

Correct:  
OLLAMA\_URL=[http://localhost:11434](http://localhost:11434)  
OLLAMA\_MODEL=llama3

…and all worked smooth.

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [June 25, 2024, 5:07pm UTC](https://forum.weaviate.io/t/nonetype-object-not-iterable/2645/5 "2024-06-25T17:07:48Z")

</div>

hi @Andy_G !! Welcome to our community 🤗

Can you check this forum thread?

> [@Verba: Something went wrong: 'NoneType' object is not iterable](https://forum.weaviate.io/t/verba-something-went-wrong-nonetype-object-is-not-iterable/2524):
>
> Description I installed Verba on Docker today using the latest version. The installation went smoothly. However, when I accessed Verba at localhost:8000 , the homepage loaded correctly. I tried to make an initial request by sending “hi” in the chat, but I encountered an error message in red below the chat window: “Something went wrong: ‘NoneType’ object is not iterable.” Additionally, the message “Retrieving chunks” keeps spinning without displaying any content. After i tried to add a document …

Also, where are you running this?

I believe there is an issue if running on Docker Desktop on Windows.

I will close this thread in favor of the linked one that has more details on the troubleshooting.

Thanks!

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [June 25, 2024, 5:07pm UTC](https://forum.weaviate.io/t/nonetype-object-not-iterable/2645/6 "2024-06-25T17:07:51Z")

</div>

Closed on June 25, 2024, 5:07pm UTC


