Skip to content

Backstage: “/spec must have required property 'owner'”

Kubernetestested on Backstage 1.55.0 (create-app 0.9.2)

A catalog-info.yaml without spec.owner fails validation. If the file is already registered, the catalog keeps the last valid state and attaches the error – at first glance everything looks normal.

Symptom

bs catalog/entities/by-name/component/default/sendungs-worker \
  | jq -r '.status.items[] | "\(.level): \(.error.cause.message)"'
~/backstage-lab/setup/portal.sh logs 300 | grep 'catalog.*warn.*validating'
error: /spec must have required property 'owner' - missingProperty: owner
2026-10-13T06:42:16.485Z catalog warn Processor BuiltinKindsEntityProcessor threw
  an error while validating the entity component:default/sendungs-worker; …

In the GUI the owner still shows the old value, with a red error card below.

Diagnosis

Before registering, a dry run against /api/catalog/locations?dryRun=true shows the same error.

InputError: Processor BuiltinKindsEntityProcessor threw an error while validating
  the entity component:default/sendungs-archiv; caused by TypeError: /spec must
  have required property 'owner' - missingProperty: owner

Causes

owner fehltRequired field spec.owner is missing

A Component needs spec.owner. If it is missing, validation by the BuiltinKindsEntityProcessor fails.

letzter StandThe catalog keeps the last valid state

If processing an already registered file fails, the catalog keeps showing the old owner and only attaches a red error card. Nobody notices who does not look at the page.

Fix

Add spec.owner back (in the course with git revert), push and let the entity be reprocessed with catalog/refresh. .status is null afterwards.
git revert --no-edit HEAD
git push -q origin main
bs catalog/refresh -X POST -H 'Content-Type: application/json' \
  -d '{"entityRef":"component:default/sendungs-worker"}'
bs catalog/entities/by-name/component/default/sendungs-worker | jq '.status'
null

Don't: Ignoring error cards in the GUI because the owner is still right. The displayed state is stale; new changes to the file no longer arrive.

▶
Break it yourself and find it – free
Backstage hands-on, day 2: the data model, required fields, dry runs and processing errors in registered files.
Go to day 2 →

FAQ

How do I find such errors without opening every page?

Via .status.items of the entities in the catalog API and the catalog warn log lines from catalog-backend-module-logs – ideally with an alert.

Is owner required for every kind?

For Component, API, Resource and System, yes; the message always names the missing field directly.

Related error patterns

More