Skip to content

Improve Template/ISO Failure Status and Error Reporting #11326

Description

@Yuliia7-1

The required feature described as a wish

Description:
In the ISO/Templates flow, error responses currently return detailed error messages directly in the status field. This leads to inconsistencies and complicates error handling.

Proposal:
Introduce two improvements to the API responses for Templates and ISOs:

  1. Standardize the status Field for Failures
    When any terminal error occurs during the processing of a template or ISO, the status field should consistently return "Failed". This provides a clear and unambiguous final state for parsing.

  2. Add a Detailed Error Message Field
    A new field, named error_details, should be added to the Template/ISO API response object.
    This field will contain a detailed error string explaining the reason for the failure.

Example of the response
Failed download status of the ISO/Template:

{
  "id": "a1b2c3d4-xxxx-yyyy-zzzz-e5f6g7h8i9j0",
  "name": "my-failed-template",
  "status": "Failed",
  "error_details": "HTTP Server returned 404 (expected 200 OK)",
  ....
}

Successful download status of the ISO/Template:

{
  "id": "b1b2c3d4-xxxx-yyyy-zzzz-e5f6g7h8i9j1",
  "name": "my-template",
  "status": "Download Complete",
  "error_details": null,
  ....
}

Benefits:

  • Consistent error structure across ISO/Templates;
  • Easier parsing, logging, and UI display of error messages;
  • Avoids issues caused by leading/trailing spaces or unexpected values in status.

Tasks:

  1. Update ISO/Templates logic to return "Failed" in the status field.
  2. Return detailed error messages in the error_details field.

Activity

  1. added this to the unplanned milestone on Jul 31, 2025
  2. github-actions commented on Dec 18, 2025

    @github-actions

    This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.

  3. github-actions commented on Jan 6, 2026

    @github-actions

    This issue was closed because it has been stale for 120 days with no activity.

  4. Yuliia7-1 commented on Jul 6, 2026

    @Yuliia7-1
    Author

    Hi @DaanHoogland
    What do you think about prioritizing this issue as a bug?

    While testing, I noticed that the status field remains empty for ISOs and templates. For example, in the new "Upload from local" for Volume workflow, volumes correctly return the upload status through uploaderrormsg and related status fields, but similar information is not available for ISOs and templates.

    Would it make sense to implement a status flow for ISOs and templates similar to the one already used for volumes? This would provide more consistent behavior across different upload workflows and make it easier for users to understand the current upload state and troubleshoot failures.

  5. DaanHoogland commented on Jul 13, 2026

    @DaanHoogland
    Contributor

    Hi @DaanHoogland What do you think about prioritizing this issue as a bug?

    prioritising and marking as bug have little to no correlation , @Yuliia7-1

    While testing, I noticed that the status field remains empty for ISOs and templates. For example, in the new "Upload from local" for Volume workflow, volumes correctly return the upload status through uploaderrormsg and related status fields, but similar information is not available for ISOs and templates.

    It makes sense to align this functionality. Maybe you can bring this to the attention of the developer implemting the new uploadVolume workflow? I am not sure how much work this would be.

    Would it make sense to implement a status flow for ISOs and templates similar to the one already used for volumes? This would provide more consistent behavior across different upload workflows and make it easier for users to understand the current upload state and troubleshoot failures.

    agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions