Target Invalid
A scanner reported the job's targets cannot be parsed. Bad CIDR, malformed port range, or unknown field. Bad targets are a template authoring problem.
How to
Investigate
- Open the state detail and read the parseError + malformedField in the context JSON
- Find the originating scan template (Config > Scan Templates)
- Fix the malformed field in the template
Repair
- Fail the affected job — terminal. The template fix prevents future occurrences.
- Schedule a new scan with the corrected template.
Gotchas
- The bad targets are not stored on the state row — only the scanner-reported parse error message. Look at the scan template directly.
- Failing the job does not delete the bad template; fix the template separately.
API calls (1)
| Method | Path | Description |
|---|---|---|
| POST | /api/health/job-errors/:stateId/repair | action=fail |
Related
- Job Errors Overview — Category model
- Scan Templates — Fix the malformed template