### Answer
This "Resource Not Found" error when publishing an agent typically indicates one of these issues:
Most Common Cause: Deleted LLM
The agent's associated LLM (Language Model) may have been deleted. When an agent appears in your "All Agents" list but throws this error when you try to open or publish it, it often means the LLM configuration for that agent no longer exists [(1) ](
) .
Other Potential Causes:
- Permission issues with accessing the agent resource
- The agent resource itself may have been deleted or corrupted
- Incorrect agent ID or workspace permissions
What to Check:
1. Verify the LLM associated with your agent still exists
2. Confirm you have proper permissions for the workspace/organization
3. Check if the agent ID is correct and accessible in your dashboard
Important Note:
Unfortunately, if the LLM or agent data has been deleted, Retell's team typically cannot retrieve the deleted data . You may need to recreate the agent configuration.
If you're certain nothing was deleted, contact Retell support with your workspace ID and agent name for further investigation.