# Is it correct that there is an error in the response section of the latest API package?

**URL:** <https://community.openai.com/t/is-it-correct-that-there-is-an-error-in-the-response-section-of-the-latest-api-package/549257>\
**Category:** API\
**Tags:** chatgpt, api\
**Created:** [December 8, 2023, 4:33am UTC](https://community.openai.com/t/is-it-correct-that-there-is-an-error-in-the-response-section-of-the-latest-api-package/549257 "2023-12-08T04:33:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjh](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/sjh/32/238494_2.png) [@sjh](https://community.openai.com/u/sjh)\
**Post date:** [December 8, 2023, 4:33am UTC](https://community.openai.com/t/is-it-correct-that-there-is-an-error-in-the-response-section-of-the-latest-api-package/549257/1 "2023-12-08T04:33:53Z")

</div>

“The content to listen for a response at [https://platform.openai.com/docs/guides/text-generation/chat-completions-response-format](https://platform.openai.com/docs/guides/text-generation/chat-completions-response-format) operates as response.choices[0].message.content in the latest OpenAI package. I might be wrong, but if I am right, it seems that the document needs to be updated.”

---

<div class="post-metadata">

**Author:** ![Diet](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/diet/32/562749_2.png) [@Diet](https://community.openai.com/u/Diet)\
**Post date:** [December 8, 2023, 4:41am UTC](https://community.openai.com/t/is-it-correct-that-there-is-an-error-in-the-response-section-of-the-latest-api-package/549257/2 "2023-12-08T04:41:47Z")

</div>

Hi! and welcome!

Maybe you oversaw the brackets 🙂

```auto
choices = [{}],
choices [0] = {}

```
