bytedance/deer-flow · error · HTTPException
Failed to update skill: {str(e)}
Error message
Failed to update skill: {str(e)} What it means
Error "Failed to update skill: {str(e)}" thrown in bytedance/deer-flow.
Source
Thrown at backend/app/gateway/routers/skills.py:560
await refresh_user_skills_system_prompt_cache_async(get_effective_user_id())
def _reload_skills() -> list[Skill]:
return _get_user_skill_storage(config).load_skills(enabled_only=False)
skills = await asyncio.to_thread(_reload_skills)
updated_skill = next((s for s in skills if s.name == skill_name), None)
if updated_skill is None:
raise HTTPException(status_code=500, detail=f"Failed to reload skill '{skill_name}' after update")
logger.info(f"Skill '{skill_name}' enabled status updated to {body.enabled}")
return _skill_to_response(updated_skill)
except HTTPException:
raise
except Exception as e:
logger.error(f"Failed to update skill {skill_name}: {e}", exc_info=True)
raise HTTPException(status_code=500, detail=f"Failed to update skill: {str(e)}")
View on GitHub (pinned to 1dd6ba1acb)
Solutions
- Check the Gateway logs for the underlying update error.
- Ensure the updated skill content passes validation and the security scanner.
When it happens
Trigger: Thrown at backend/app/gateway/routers/skills.py:560 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of bytedance/deer-flow@1dd6ba1acb (2026-08-14).
Data as JSON: /api/errors/05adf56dd8358b85.
Report an issue: GitHub.