# Warning: "Failed to detect the name of this notebook"

**URL:** <https://community.wandb.ai/t/warning-failed-to-detect-the-name-of-this-notebook/3491>\
**Category:** W&B Help\
**Created:** [December 3, 2022, 9:45am UTC](https://community.wandb.ai/t/warning-failed-to-detect-the-name-of-this-notebook/3491 "2022-12-03T09:45:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinashaw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/kevinashaw/32/1016_2.png) [@kevinashaw](https://community.wandb.ai/u/kevinashaw)\
**Post date:** [December 3, 2022, 9:45am UTC](https://community.wandb.ai/t/warning-failed-to-detect-the-name-of-this-notebook/3491/1 "2022-12-03T09:45:31Z")

</div>

I’m not sure why this started happening, but WB is now giving us this error message:

`Failed to detect the name of this notebook, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable to enable code saving.`

We do not use notebooks and so there is no reason for us to set the above mentioned environment variable. How can we make this stop? And why is WB pushing us to set an optional parameter?

---

<div class="post-metadata">

**Author:** ![ramit\_goolry](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@ramit\_goolry](https://community.wandb.ai/u/ramit_goolry)\
**Post date:** [December 6, 2022, 5:24am UTC](https://community.wandb.ai/t/warning-failed-to-detect-the-name-of-this-notebook/3491/2 "2022-12-06T05:24:21Z")

</div>

Hi Kevin!

What environment are you running your code in? It sounds like wandb might be capturing an IPython kernel. You don’t really need to worry about this warning, it does not affect your W&B Run all too much.

Thanks,  
Ramit

---

<div class="post-metadata">

**Author:** ![ramit\_goolry](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@ramit\_goolry](https://community.wandb.ai/u/ramit_goolry)\
**Post date:** [December 9, 2022, 12:39pm UTC](https://community.wandb.ai/t/warning-failed-to-detect-the-name-of-this-notebook/3491/3 "2022-12-09T12:39:47Z")

</div>

Hi Kevin,

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.

---

<div class="post-metadata">

**Author:** ![ramit\_goolry](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@ramit\_goolry](https://community.wandb.ai/u/ramit_goolry)\
**Post date:** [December 13, 2022, 3:42pm UTC](https://community.wandb.ai/t/warning-failed-to-detect-the-name-of-this-notebook/3491/4 "2022-12-13T15:42:05Z")

</div>

Hi Kevin, 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!

---

<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:** [February 4, 2023, 5:25am UTC](https://community.wandb.ai/t/warning-failed-to-detect-the-name-of-this-notebook/3491/5 "2023-02-04T05:25:12Z")

</div>

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