Sources

Troubleshooting

What to check when a page is missing, a source reports an error, or a card's values look wrong.

What you seeCheck
No pageConfirm Legato is running, the file is inside ~/Library/Application Support/Legato/Pages/, and its name ends in .json and doesn't start with a dot. Choosing a file in Source Preview previews it without installing it. If the page still doesn't appear, read its status file. After the trial, pages show again once there's a license.
No editor suggestionsUse a JSON Schema-aware editor, keep the $schema line, and open Legato to install Pages/.schemas/page.schema.json. If editing outside Pages, adjust the schema location.
File or source errorUse a complete page, not a reference fragment. Check JSON syntax, the source name used by ref, and that every sourced card has a map.
HTTP 401 or 403Check the API's authentication scheme, the secret's name and host, token permissions, and required version or Accept headers. Login headers belong in auth.request.headers.
Rate limit or “asked Legato to wait”Let the shown cooldown expire. It is shared by polling, Fetch Once and buttons for the same origin and credentials. Increase every if limits recur; a blocked button needs another click after the wait.
“Didn't send JSON”Check the endpoint returns API JSON rather than a web page or sign-in form. Use format: "text" only if you want to display the entire text answer.
Missing or unexpected card valuesRight-click the page → Preview Source… and preview a sample. Check mapping issues and Mapped card JSON. Named requests add a name prefix; lists evaluate paths relative to each item.
No usable Prometheus samplesCheck /metrics, credentials, and the group_by label. HTML and empty results are not valid metric data.
Secret missing or unreadableSave it for the configured host in Settings → Secrets. A different app signature or Keychain restriction may require saving it again.
Cards show dashes, and no errorThe service may report errors in a 200 answer. Right-click the page → Preview Source… and Fetch Once to see it, then give the source fail.
A button succeeds but the card has not changedCheck the command response, any success condition, and subsequent source errors. An accepted command can take time to affect the device.