zylon-ai/private-gpt · error · HTTPException
Skill with id {skill_id} not found in collection {collection
Error message
Skill with id {skill_id} not found in collection {collection} What it means
Error "Skill with id {skill_id} not found in collection {collection}" thrown in zylon-ai/private-gpt.
Source
Thrown at private_gpt/server/skills/skill_router.py:360
},
)
async def get_skill(
request: Request,
skill_id: str,
collection: str = Query(
...,
min_length=1,
max_length=255,
examples=["acme-prod"],
),
anthropic_beta: Annotated[list[str] | None, Header(alias="anthropic-beta")] = None,
) -> SkillResponse:
"""Get a skill by id and collection boundary."""
del anthropic_beta
service: SkillService = request.state.injector.get(SkillService)
skill = await service.get_skill(skill_id=skill_id, collection=collection)
if not skill:
raise HTTPException(
status_code=404,
detail=f"Skill with id {skill_id} not found in collection {collection}",
)
return _skill_response(skill)
@skill_router.delete(
"/{skill_id}",
response_model=SkillDeletedResponse,
description="Delete a non-readonly skill from a collection.",
responses={
200: {
"description": "Skill deleted.",
"content": {
"application/json": {
"examples": {
"deleted_skill": {
"summary": "Deletion marker",View on GitHub (pinned to 4a030776a3)
Solutions
- Verify the skill_id and collection by listing skills in the target collection first.
- Check that the skill has not been deleted and that the collection name is correct.
- Use the skills list endpoint for the collection to obtain the correct skill id.
When it happens
Trigger: Raised when looking up a skill by id in a collection that does not contain it.
Common situations: Requesting a skill with a wrong id or wrong collection name, or the skill was deleted; list the collection's skills to obtain valid ids.
AI-assisted analysis of zylon-ai/private-gpt@4a030776a3 (2026-08-15).
Data as JSON: /api/errors/a84e043b262f83af.
Report an issue: GitHub.