Significant-Gravitas/AutoGPT · error · HTTPException
str(e)
Error message
str(e)
What it means
Error "str(e)" thrown in Significant-Gravitas/AutoGPT.
Source
Thrown at autogpt_platform/backend/backend/api/features/library/routes/presets.py:68
Args:
user_id (str): ID of the authenticated user.
page (int): Page number for pagination.
page_size (int): Number of items per page.
graph_id: Allows to filter presets by a specific agent graph.
Returns:
models.LibraryAgentPresetResponse: A response containing the list of presets.
"""
try:
return await db.list_presets(
user_id=user_id,
graph_id=graph_id,
page=page,
page_size=page_size,
)
except Exception as e:
logger.exception("Failed to list presets for user %s: %s", user_id, e)
raise HTTPException(
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail=str(e)
)
@router.get(
"/presets/{preset_id}",
summary="Get a specific preset",
description="Retrieve details for a specific preset by its ID.",
)
async def get_preset(
preset_id: str,
user_id: str = Security(autogpt_auth_lib.get_user_id),
) -> models.LibraryAgentPreset:
"""
Retrieve details for a specific preset by its ID.
Args:
preset_id (str): ID of the preset to retrieve.View on GitHub (pinned to 9c8bb5550f)
Solutions
- Check server logs for full error details and fix the underlying issue.
- Retry the request; if persistent, contact support with the error message.
When it happens
Trigger: Thrown at autogpt_platform/backend/backend/api/features/library/routes/presets.py:68 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Significant-Gravitas/AutoGPT@9c8bb5550f (2026-08-14).
Data as JSON: /api/errors/03cf68ff2506e02f.
Report an issue: GitHub.