claude-memory/graph/solutions/fixed-paper-dynasty-gauntlet-9-keyerror-human-332764.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

25 lines
896 B
Markdown

---
id: 332764d5-30ae-488c-969e-e01fb0239eaa
type: solution
title: "Fixed Paper Dynasty gauntlet-9 KeyError: 'human'"
tags: [paper-dynasty, database, gauntlet, keyerror, bug-fix, cardsets]
importance: 0.7
confidence: 0.8
created: "2026-02-04T15:00:16.354282+00:00"
updated: "2026-02-04T15:00:16.354282+00:00"
---
Error: KeyError: 'human' in /api/v2/cards/legal-check/gauntlet-9
Location: database/app/routers_v2/cards.py:242
Root cause: CARDSETS['gauntlet-9'] missing 'human' key in database/app/db_engine.py
All other gauntlet events (3-8) had 'human' key, but gauntlet-9 didn't.
Fix: Added to database/app/db_engine.py line 119:
'human': [x for x in range(1, 30)]
This allows the legal-check endpoint to validate which cardsets are allowed for human players in gauntlet-9.
Deployed: v1.5.5 to production (akamai/pd_api)
Verified: Container healthy, CARDSETS['gauntlet-9']['human'] present