Project

General

Profile

Actions

BUG #4305

open

[SQA] API /output/v1.0.0/download-zip: Returns 200 OK when fieldIds array is empty

Added by Aman Bhuiyan about 1 month ago.

Status:
Pending
Priority:
High
Category:
bug
Target version:
Start date:
03/09/2026
Due date:
% Done:

0%

Estimated time:

Description

Description

Module/Section: API → /output/v1.0.0/download-zip
Profile: API
Issue Category: Functional

When the fieldIds array is empty in a POST request to the download-zip endpoint, the server incorrectly returns a 200 OK response.
It should return a 400 Bad Request to indicate invalid input and prevent misuse.


Steps to Reproduce

  1. Send a POST request to /output/v1.0.0/download-zip with an empty fieldIds array.
  2. Observe the server response.

Expected Result

The server should return a 400 Bad Request indicating invalid input.


Actual Result

The server returns 200 OK, which incorrectly suggests a successful operation.


Root Cause


Impacted Area


Attachments

No data to display

Actions

Also available in: Atom PDF