Significant-Gravitas/AutoGPT · error · NotFoundError
Preset #{preset_id} not found for user #{user_id}
Error message
Preset #{preset_id} not found for user #{user_id} What it means
Error "Preset #{preset_id} not found for user #{user_id}" thrown in Significant-Gravitas/AutoGPT.
Source
Thrown at autogpt_platform/backend/backend/api/features/library/db.py:2141
Args:
user_id: The ID of the user updating the preset.
preset_id: The ID of the preset to update.
inputs: New inputs object to set on the preset.
credentials: New credentials to set on the preset.
name: New name for the preset.
description: New description for the preset.
is_active: New active status for the preset.
Returns:
The updated LibraryAgentPreset.
Raises:
DatabaseError: If there's a database error in updating the preset.
NotFoundError: If attempting to update a non-existent preset.
"""
current = await get_preset(user_id, preset_id) # assert ownership
if not current:
raise NotFoundError(f"Preset #{preset_id} not found for user #{user_id}")
logger.debug(
f"Updating preset #{preset_id} ({repr(current.name)}) for user #{user_id}",
)
async with transaction() as tx:
update_data: prisma.types.AgentPresetUpdateInput = {}
if name:
update_data["name"] = name
if description:
update_data["description"] = description
if is_active is not None:
update_data["isActive"] = is_active
if inputs or credentials:
if not (inputs and credentials):
raise ValueError(
"Preset inputs and credentials must be provided together"
)
update_data["InputPresets"] = {
"create": [View on GitHub (pinned to 9c8bb5550f)
Solutions
- Confirm the preset ID is correct and belongs to your account.
- Refresh the preset list; it may have been deleted.
When it happens
Trigger: Thrown at autogpt_platform/backend/backend/api/features/library/db.py:2141 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/b207e0dcf32288de.
Report an issue: GitHub.