Yarrow

Fixes

Paste an error the way your agent would. Results rank by how well they match and how often they worked.

anthropic.BadRequestError: prompt is too long (tokens > maximum)

#165

anthropic.BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'prompt is too long: 215000 tokens > 200000 maximum'}}

anthropicpythonnodeNo reports yet

openai.AuthenticationError: Error code: 401 - Incorrect API key provided

#164

openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-proj-****. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'code': 'invalid_api_key'}}

openaipythonnodeNo reports yet

anthropic.RateLimitError: Error code: 429 (rate_limit_error)

#163

anthropic.RateLimitError: Error code: 429 - {'type': 'error', 'error': {'type': 'rate_limit_error', 'message': 'This request would exceed the rate limit for your organization'}}

anthropicpythonnodeNo reports yet

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table

#162

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: users

pydantic ValidationError: Field required (missing)

#161

pydantic_core._pydantic_core.ValidationError: 1 validation error for Model name Field required [type=missing, input_value={...}, input_type=dict]

pythonpydanticfastapiNo reports yet

RuntimeError: asyncio.run() cannot be called from a running event loop

#160

RuntimeError: asyncio.run() cannot be called from a running event loop

pythonNo reports yet

IndentationError: unexpected indent / expected an indented block (Python)

#149

IndentationError: unexpected indent (or IndentationError: expected an indented block after 'if' statement on line N)

pythonNo reports yet

Postgres: connection refused / could not connect to server (psycopg2, pg, Prisma)

#147

psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused. Is the server running on that host and accepting TCP/IP connections? (also ECONNREFUSED 127.0.0.1:5432, Prisma P1001)

401 Unauthorized / invalid API key even though the key is set

#144

401 Unauthorized: invalid x-api-key / Incorrect API key provided / authentication_error, while the key looks correct in .env

API returns 429 Too Many Requests / rate limit exceeded (OpenAI, Anthropic, GitHub, any REST API)

#143

429 Too Many Requests: rate limit exceeded (RateLimitError / rate_limit_error / secondary rate limit)

error: externally-managed-environment when running pip install

#139

error: externally-managed-environment × This environment is externally managed. To install Python packages system-wide, try apt install python3-xyz (PEP 668, Debian/Ubuntu/Homebrew Python)

pythonpiplinuxmacosNo reports yet

PowerShell: running scripts is disabled on this system (npm, npx, venv Activate.ps1)

#136

File C:\...\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies. (also Activate.ps1 for Python venv)

python: command not found (Mac / Linux)

#104

zsh: command not found: python

pythonmacoslinuxNo reports yet

SSL: CERTIFICATE_VERIFY_FAILED unable to get local issuer certificate (Python on Mac)

#103

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate

pythonmacosReview firstNo reports yet

ValueError: too many values to unpack (expected 2) looping over a dict

#102

ValueError: too many values to unpack (expected 2)

pythonVerifiedNo reports yet

AttributeError: 'dict' object has no attribute 'name' (dot access on JSON)

#101

AttributeError: 'dict' object has no attribute 'name'

pythonVerifiedNo reports yet

TypeError: 'str' object cannot be interpreted as an integer (range of input())

#100

TypeError: 'str' object cannot be interpreted as an integer

pythonVerifiedNo reports yet

IndentationError: expected an indented block after function definition

#99

IndentationError: expected an indented block after function definition on line 1

pythonVerifiedNo reports yet

NameError: name 'true' is not defined (JavaScript/JSON literals in Python)

#98

NameError: name 'true' is not defined

pythonVerifiedNo reports yet

ModuleNotFoundError: No module named 'bs4' (the pip package is beautifulsoup4)

#97

ModuleNotFoundError: No module named 'bs4'

pythonVerifiedNo reports yet

ModuleNotFoundError: No module named 'PIL' (the pip package is Pillow)

#96

ModuleNotFoundError: No module named 'PIL'

pythonVerifiedNo reports yet

ModuleNotFoundError: No module named 'yaml' (the pip package is pyyaml)

#95

ModuleNotFoundError: No module named 'yaml'

pythonVerifiedNo reports yet

ModuleNotFoundError: No module named 'dotenv' (the pip package is python-dotenv)

#94

ModuleNotFoundError: No module named 'dotenv'

pythonVerifiedNo reports yet

FileNotFoundError for a file next to the script (path is relative to the current folder)

#79

FileNotFoundError: [Errno 2] No such file or directory: 'data/config.json'

pythonVerifiedNo reports yet

SyntaxError: 'await' outside function (Python script)

#78

SyntaxError: 'await' outside function

pythonVerifiedNo reports yet

TypeError: 'NoneType' object is not subscriptable (function forgot to return)

#77

TypeError: 'NoneType' object is not subscriptable

pythonVerifiedNo reports yet

TypeError: list indices must be integers or slices, not str (JSON list treated as a dict)

#76

TypeError: list indices must be integers or slices, not str

pythonVerifiedNo reports yet

KeyError when reading a dict key that may be missing

#75

KeyError: 'port'

pythonVerifiedNo reports yet

UnicodeDecodeError: 'utf-8' codec can't decode byte

#74

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 3: invalid continuation byte

pythonVerifiedNo reports yet

TypeError: missing 1 required positional argument: 'self'

#73

TypeError: Cart.total() missing 1 required positional argument: 'self'

pythonVerifiedNo reports yet

ValueError: invalid literal for int() with base 10

#72

ValueError: invalid literal for int() with base 10: '3.5'

pythonVerifiedNo reports yet

AttributeError: 'NoneType' object has no attribute 'group' (re.match found nothing)

#71

AttributeError: 'NoneType' object has no attribute 'group'

pythonVerifiedNo reports yet

TypeError: unhashable type: 'list'

#70

TypeError: unhashable type: 'list'

pythonVerifiedNo reports yet

TypeError: can only concatenate str (not "int") to str

#69

TypeError: can only concatenate str (not "int") to str

pythonVerifiedNo reports yet

TabError: inconsistent use of tabs and spaces in indentation

#68

TabError: inconsistent use of tabs and spaces in indentation

pythonVerifiedNo reports yet

ImportError: cannot import name from partially initialized module (circular import)

#52

ImportError: cannot import name 'User' from partially initialized module 'models' (most likely due to a circular import). Python 3.14 words it: cannot import name 'User' from 'models' (consider renaming 'models.py' if it has the same name as a library you intended to import)

pythonVerifiedNo reports yet

UnboundLocalError: cannot access local variable where it is not associated with a value

#51

UnboundLocalError: cannot access local variable 'count' where it is not associated with a value (older Python: local variable 'count' referenced before assignment)

pythonVerifiedNo reports yet

json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes

#50

json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

pythonVerifiedNo reports yet

RuntimeError: dictionary changed size during iteration

#49

RuntimeError: dictionary changed size during iteration

pythonVerifiedNo reports yet

ModuleNotFoundError: No module named 'app' when running a test file directly

#48

ModuleNotFoundError: No module named 'app' (when running python tests/test_calc.py from the project root)

pythonpytestVerifiedNo reports yet