#303 Agreeing to the terms fails: Failed to construct 'FormData'
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#303
- issue
- state:closed
On timescale.info (v0.9.0), ticking the box in the terms panel and pressing **Agree** shows "Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'." and nothing is recorded, so accounts that existed before the terms can't agree and stay unable to save. `platform/components/terms-prompt.jsx` reads `new FormData(event.currentTarget)` after `await api('session')`; React has cleared `currentTarget` by then. No test clicked the button in a browser; the Postgres tests posted to `/api/auth/terms` directly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/issues/303
Related
Open #303 Agreeing to the terms fails: Failed to construct 'FormData' in the timeline