Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Error Messages

Direct answer

Documented error messages explain what each error means and what to do, and good automation writes errors that name the failed step, the target and the likely cause.

When to use this

Use this when documenting and writing useful error messages.

First 30 seconds

1. Good error messages say what failed, why, and what to do.

2. Catalogue common errors.

3. Link to docs.

4. Include context (target, step).

5. Review with support.

Operational verification

error → message → documented fix

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
runbook and automation documentation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformrunbook and automation documentation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when documenting and writing useful error messages.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Messages without the next step.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Say which step and target failed.
  • Give the likely cause and next action.
  • Avoid leaking secrets in errors.
Key checks
  • Error message catalogue (message → meaning → fix) — troubleshooting
  • Actionable error texts in code — quality
  • Links to docs in errors — help
ReferenceWhy it matters1 section · depth on demand

What it is

Error message documentation lists common errors, their meaning and the fix.

ReferenceImportant terms & boundaries2 sections · depth on demand

How it works

Good error messages state what failed, the target, the cause if known and the next step. Documenting the common ones in the runbook saves operators from searching code or logs.

Example

MessageMeaningFix
401 UnauthorizedToken missing/expiredRefresh token
UNREACHABLE! ssh: connect... timed outNo SSH pathCheck ACL/route/port 22
Error acquiring the state lockAnother run activeWait; force-unlock only if stale
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docrunbook and automation documentation current

Authoritative/upstream documentation reviewed for bounded claims in Automation Documentation > Error Messages. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/azure/automation/automation-runbook-types · confidence 94%
Confirmation

Confirm action

Continue?