# The notebook for the first lab is not working with error

**URL:** <https://community.deeplearning.ai/t/the-notebook-for-the-first-lab-is-not-working-with-error/894874>\
**Category:** Red Teaming LLM Applications\
**Created:** [August 31, 2026, 2:45pm UTC](https://community.deeplearning.ai/t/the-notebook-for-the-first-lab-is-not-working-with-error/894874 "2026-08-31T14:45:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joeokc99](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@joeokc99](https://community.deeplearning.ai/u/joeokc99)\
**Post date:** [August 31, 2026, 2:45pm UTC](https://community.deeplearning.ai/t/the-notebook-for-the-first-lab-is-not-working-with-error/894874/1 "2026-08-31T14:45:25Z")

</div>

Hi!

Whenever i run the notebook for the overview of llm vulnerabilities i get the following error:

```auto
BadRequestError: Error code: 400 - {'error': {'message': "Unsupported value: 'temperature' does not support 0.1 with this model. Only the default (1) value is supported.", 'type': 'invalid_request_error', 'param': 'temperature', 'code': 'unsupported_value'}}

```

---

<div class="post-metadata">

**Author:** ![lesly.zerna](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/lesly.zerna/32/47465_2.png) [@lesly.zerna](https://community.deeplearning.ai/u/lesly.zerna)\
**Post date:** [August 31, 2026, 3:25pm UTC](https://community.deeplearning.ai/t/the-notebook-for-the-first-lab-is-not-working-with-error/894874/2 "2026-08-31T15:25:21Z")

</div>

Hi! Thanks for reporting!  
I’ve got this in [Lesson 1: Overview of LLM Vulnerabilities](https://learn.deeplearning.ai/courses/red-teaming-llm-applications/lesson/ih4vf/overview-of-llm-vulnerabilities)

 ![Screenshot 2026-08-31 at 11.24.08 AM](https://global.discourse-cdn.com/dlai/original/3X/6/3/63cbf13e143299287c95e956392ad6b1b29394d8.jpeg)

Let me check it with the team and fix it!

Just for consideration, this course was released in April, 2024 using OPENAI\_MODEL = “gpt-3.5-turbo” and up to date this model might not be compatible anymore with those temperature values. We’re evaluating the best gpt model that might be the best replacement for the notebooks for correct functioning.

I’ll keep you updated!

Lesly - DLAI

---

<div class="post-metadata">

**Author:** ![joeokc99](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@joeokc99](https://community.deeplearning.ai/u/joeokc99)\
**Post date:** [September 14, 2026, 7:33pm UTC](https://community.deeplearning.ai/t/the-notebook-for-the-first-lab-is-not-working-with-error/894874/3 "2026-09-14T19:33:29Z")

</div>

Any updates on this?

---

<div class="post-metadata">

**Author:** ![lesly.zerna](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/lesly.zerna/32/47465_2.png) [@lesly.zerna](https://community.deeplearning.ai/u/lesly.zerna)\
**Post date:** [September 18, 2026, 2:25pm UTC](https://community.deeplearning.ai/t/the-notebook-for-the-first-lab-is-not-working-with-error/894874/4 "2026-09-18T14:25:27Z")

</div>

let me double check. thanks for the message!
