borg-backup-ui icon indicating copy to clipboard operation
borg-backup-ui copied to clipboard

Show detailed restore precheck validation errors

Open borg-codex-bot opened this issue 3 months ago • 0 comments

Restore precheck failures currently surface generic translated bad_request messages such as "The request contains invalid data" / "Die Anfrage enthaelt ungueltige Angaben" even when the backend response contains a more useful validation reason.

Goal:

  • Show the concrete restore precheck validation message returned by the backend when the precheck request is rejected.
  • Keep existing translated API error handling for other API calls.
  • Add regression coverage so restore precheck failures do not regress to the generic bad_request text.

User impact: Users can see whether a restore precheck failed because the target path does not exist, is outside the allowed restore roots, is not writable, or because the archive selection is missing.

borg-codex-bot avatar Aug 27 '26 17:08 borg-codex-bot