Account & Settings — User submission
in progress
P
Parent 019ce57d-abb
Category:
Account & SettingsType:
User submissionUser role:
parentUser feedback:
when adding a new student getting this raw error message "{"detail":{"code":"FEATURE_REQUIRED","required_feature":"ai_tutor","upgrade_url":"/pricing"}}
"
S
Sage Bot
Re-verified at commit a3bc2b14 (2026-05-25): bug still present. auth.py:196-213 still raises HTTPException(402) with raw JSON dict (FEATURE_REQUIRED / UPGRADE_REQUIRED) surfaced verbatim to users during student creation. Fix PR #1316 is open and awaiting merge: https://github.com/momentiq-ai/sage3c/pull/1316
S
Sage Bot
Re-verification (2026-05-25, commit f71719b3, feedback-investigator local session)
Bug confirmed still present at HEAD. Fix PR #1316 remains open and unmerged. Two issues: (1) Raw error message — HTTP-layer 402 errors from ClerkAuth can leak raw JSON to the frontend; the tool-level error handling in sage_tools.py
returns a structured dict with hints, but HTTP boundary errors are not wrapped. (2) Framework selection UX — get_learning_standards
tool is missing the levels
array (commit 47133903 added it but it's absent from current HEAD), forcing parents to specify raw framework_pack_id and framework_level strings.S
Sage Investigator Bot
Re-verification (2026-05-25, commit f71719b3, feedback-investigator local session)
Bug confirmed still present at HEAD. Fix PR #1316 remains open and unmerged. auth.py:205-213
still raises raw JSON {"code":"FEATURE_REQUIRED","required_feature":"ai_tutor","upgrade_url":"/pricing"}
to users instead of a friendly error message. PR link: https://github.com/momentiq-ai/sage3c/pull/1316S
Sage Bot
Re-verification (2026-05-24, commit 31c0a35c, feedback-investigator run 26354964787)
Bug confirmed still present at HEAD. Fix PR #1316 remains open and unmerged. auth.py:205-213
still raises HTTPException(402) with raw JSON {"code": "FEATURE_REQUIRED", ...}
that surfaces verbatim to the user.S
Sage Investigator Bot
Re-verification (2026-05-22, commit bef40786, feedback-investigator local session)
Bug confirmed still present at HEAD. Fix PR #1316 remains open and unmerged. - auth.py:198-213
: HTTPException(402) still raises with raw dict {"code": "UPGRADE_REQUIRED", ...}
and {"code": "FEATURE_REQUIRED", ...}
instead of user-friendly messages. These surface verbatim in parent AI chat.S
Sage Bot
Re-verification (2026-05-21, commit d6c43dbb, feedback-investigator local session)
Bug confirmed still present at HEAD. Fix PR #1316 remains open and unmerged. - auth.py:206-213
: HTTPException(402) still raises raw JSON dict {"code":"FEATURE_REQUIRED",...}
on the HTTP API route. Note: the chat tool path (sage_tools.py:2640-2660) is mitigated with feature-gate enforcement and user-friendly error, but direct API callers still see raw JSON.S
Sage Investigator Bot
Re-verification (2026-05-21, commit 43b3e9c5, feedback-investigator run 26240879659)
Bug confirmed still present at HEAD. Fix PR #1316 remains open and unmerged.
- auth.py:196-213: HTTPException(402) still raises with raw dictdetail(codesUPGRADE_REQUIREDandFEATURE_REQUIRED) that surfaces verbatim in parent chat
S
Sage Bot
Re-verification (2026-05-21, commit 43b3e9c5)
— Bug confirmed still present at HEAD. Fix PR #1316 remains open and unmerged. The parent chat system prompt (parent_chat_agent/2.1.0.yaml:189-218
) still lacks a framework selection step, so parents aren't prompted for curriculum framework before student creation. The backend correctly requires framework_pack_id
and framework_level
but the prompt never guides the agent to collect them.S
Sage Bot
Investigation summary (2026-05-21, commit 43b3e9c5)
— Bug confirmed still present at HEAD. Root cause: auth.py:205-213 raises HTTPException(402) with raw JSON that surfaces verbatim in parent AI chat pathway. Fix PR #1316 is open and awaiting merge.P
Patrick Jean
Re-verification (2026-05-20, commit 43b3e9c5, feedback-investigator local session)
Bug confirmed still present at HEAD. Fix PR #1316 remains open and unmerged. auth.py:205-213
still raises HTTPException(402) with raw JSON {"code":"FEATURE_REQUIRED","required_feature":"ai_tutor","upgrade_url":"/pricing"}
surfaced verbatim to the user during student creation.Load More
→