Scheduler · error · admin

Schedule references a mapping that no longer exists

Schedules are bound to saved mappings. If a mapping is deleted, recreated, or moved, the schedule cannot run until it is rebound.

Error Codes In Plain English

automation_plan_not_found: automation plan not found

What you might see

You may see: `automation_plan_not_found`, `automation_plan_binding_required`, or a schedule history run marked failed/blocked.

Why it usually happens

- The saved mapping was deleted.
- The schedule references an old mapping ID.
- The project was restored from backup without the mapping.
- A schedule was imported without its mapping dependency.

How to fix it

1. Open Scheduler.
2. Edit the schedule.
3. Select a current mapping.
4. Save the schedule.
5. Run Now to verify the binding.

How to avoid it next time

Avoid deleting mappings that are referenced by active schedules. Disable or update schedules before removing mappings.

SQL to check

```sql
SELECT schedule_name, mapping_id
FROM project_automation_schedules
WHERE enabled = 1;
```