# Failed after first run with KeyError (2)

**URL:** <https://community.wandb.ai/t/failed-after-first-run-with-keyerror-2/4519>\
**Category:** W&B Help\
**Created:** [June 5, 2023, 2:02am UTC](https://community.wandb.ai/t/failed-after-first-run-with-keyerror-2/4519 "2023-06-05T02:02:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tinok](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@tinok](https://community.wandb.ai/u/tinok)\
**Post date:** [June 5, 2023, 2:02am UTC](https://community.wandb.ai/t/failed-after-first-run-with-keyerror-2/4519/1 "2023-06-05T02:02:57Z")

</div>

I always get Error after the first run. The error is like this  
wandb: ERROR Run c26p4mss errored: KeyError(2)  
wandb: Agent Starting Run: q7zhd933 with config:  
wandb: learning\_rate: 1.0585947607837331e-05  
wandb: num\_train\_epochs: 2  
Tracking run with wandb version 0.15.3

The following text is like this " Waiting for W&B process to finish… **(failed 1).**"

And then it infinitely continue to produce another run with same error.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/9/9de1975ea8b259c27d022a67f6a4ce2d44e50ceb.png)

I run wandb in google colab

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [June 7, 2023, 9:11am UTC](https://community.wandb.ai/t/failed-after-first-run-with-keyerror-2/4519/2 "2023-06-07T09:11:35Z")

</div>

Hi Prentino,

Thanks for writing in! To understand what is happening here:

- Could you please send `debug.log` and `debug-internal.log` for the affected run? These files are under your local folder `wandb/run-<date>_<time>-<run-id>/logs` in the same directory where you’re running your code.
- Would you mind sharing a code snippet so I can try to reproduce this on my end?

Best,  
Luis

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [June 9, 2023, 12:34pm UTC](https://community.wandb.ai/t/failed-after-first-run-with-keyerror-2/4519/3 "2023-06-09T12:34:04Z")

</div>

Hi Prentino,

We wanted to follow up with you regarding your support request as we have not heard back from you. Please let us know if we can be of further assistance or if your issue has been resolved.

Best,  
Weights & Biases

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [June 13, 2023, 9:58am UTC](https://community.wandb.ai/t/failed-after-first-run-with-keyerror-2/4519/4 "2023-06-13T09:58:55Z")

</div>

Hi Prentino,

Since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

Best,  
Luis

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [August 4, 2023, 2:03am UTC](https://community.wandb.ai/t/failed-after-first-run-with-keyerror-2/4519/5 "2023-08-04T02:03:43Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
