odysseus-dev/odysseus · error · HTTPException
str(e).strip() or "Could not download skill from URL"
Error message
str(e).strip() or "Could not download skill from URL"
What it means
A 502/400 wrap-up in import_skill_from_url: fetching the skill bundle URL failed with an httpx network/HTTP error; the raw exception is logged and surfaced as this message (falling back to a generic string when empty). Indicates an unreachable or erroring remote source, not an invalid bundle.
Solutions
- Check the skill URL is reachable and points to valid content.
- Review the reported download error and retry with a corrected URL.
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Triggered when the corresponding server-side validation or runtime check at the recorded location rejects the request or operation and returns this error message to the caller.
Common situations: See trigger scenarios.
AI-assisted analysis of odysseus-dev/odysseus@f9235ebbf1 (2026-08-14).
Data as JSON: /api/errors/e4a4e849a23df674.
Report an issue: GitHub.
Appendix: source
Thrown at routes/skills_routes.py:1277
user = _owner(request)
from services.memory.skill_importer import (
SkillImportError,
fetch_skill_bundle,
)
try:
files, _src = fetch_skill_bundle(body.url.strip())
entry = skills_manager.import_bundle_from_files(
files,
owner=user,
source_url=body.url.strip(),
)
except SkillImportError as e:
raise HTTPException(400, str(e)) from e
except httpx.HTTPError as e:
logger.warning("skill import fetch failed: %s", e)
detail = str(e).strip() or "Could not download skill from URL"
raise HTTPException(502, detail) from e
except Exception as e:
logger.error("skill import failed: %s", e)
raise HTTPException(500, "Skill import failed") from e
_fire_skill_added(user)
return {"ok": True, "skill": entry, "files": len(files)}
@router.post("/add")
async def add_skill(request: Request, body: SkillAddRequest):
user = _owner(request)
entry = skills_manager.add_skill(
# New shape
name=body.name,
description=body.description,
category=body.category,
tags=body.tags,
platforms=body.platforms,
requires_toolsets=body.requires_toolsets,View on GitHub (pinned to f9235ebbf1)