# \#api-bug

**URL:** https://community.openai.com/tag/api-bug/936.md

[Latest](https://community.openai.com/latest.md) · [Categories](https://community.openai.com/categories.md) · [Tags](https://community.openai.com/tags.md)

---

## [Bug: I was generating the AI response before the input it depended on existed](https://community.openai.com/t/bug-i-was-generating-the-ai-response-before-the-input-it-depended-on-existed/1396226)

<div class="topic-metadata">

**Author:** [@abidn8829](https://community.openai.com/u/abidn8829)\
**Replies:** 0\
**Last updated:** [September 9, 2026, 10:17pm UTC](https://community.openai.com/t/bug-i-was-generating-the-ai-response-before-the-input-it-depended-on-existed/1396226 "2026-09-09T22:17:03Z")

</div>

Found a quiet one while building my own app. A “next challenge” step is supposed to react to what the user just answered, but the generation call was firing as soon as the screen loaded, before the answer was captured. S…

---

## [I was wrongly charged, while having enough complimentary tokens](https://community.openai.com/t/i-was-wrongly-charged-while-having-enough-complimentary-tokens/1364079)

<div class="topic-metadata">

**Author:** [@porton.victor](https://community.openai.com/u/porton.victor)\
**Replies:** 0\
**Last updated:** [October 27, 2025, 8:36am UTC](https://community.openai.com/t/i-was-wrongly-charged-while-having-enough-complimentary-tokens/1364079 "2025-10-27T08:36:49Z")

</div>

I am enrolled for complimentary tokens for a long enough time: I don’t have any OpenAI API keys outside of these three projects. So, I should receive complimentary tokens. Here is my token usage data: (Before 27…

---

## [First, I encountered lag, and then an API error occurred](https://community.openai.com/t/first-i-encountered-lag-and-then-an-api-error-occurred/1265694)

<div class="topic-metadata">

**Author:** [@razvan.i.savin](https://community.openai.com/u/razvan.i.savin)\
**Replies:** 6\
**Last updated:** [May 20, 2025, 5:06pm UTC](https://community.openai.com/t/first-i-encountered-lag-and-then-an-api-error-occurred/1265694 "2025-05-20T17:06:03Z")

</div>

Here are my logs: 2025-05-19 17:09:32,904 - INFO - event\_handler.py - \[\_handle\_run\_created\] Run 'run\_GeouQ7Kxwq4KAWuKYf3ze8ix' created for thread 'thread\_pg3RT23KONlxNsJuDxTm7c3i'. 2025-05-19 17:09:36,648 - INFO - event…
