Skip to content

Conversation

@Damans227
Copy link
Contributor

Description

This PR fixes template upload error messages not being displayed in the UI. Previously, when template uploads failed (e.g., file format mismatch), the UI would show a generic "Request failed with status code 400" message instead of the actual error message from the SSVM (Secondary Storage VM).

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

Broken:

image

Fixed:

Screenshot from 2026-01-12 17-20-18

How Has This Been Tested?

  1. Navigated to Templates → Upload Template
  2. Selected QCOW2 as format
  3. Uploaded a file with wrong format (e.g., RAW disk image, text file, or corrupted QCOW2)
  4. Verified error notification displays actual SSVM error message instead of generic "Request failed with status code 400"

@Damans227 Damans227 changed the title Improve error handling for template upload notifications UI: Improve error handling for template upload notifications Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant