#12765·prowler

Download Failed. Unable to prepare the scan report.

Author: mouse51180Created Sep 8, 2026Updated Sep 8, 2026
Labelsbugstatus/needs-triage

Issue search

  • I have searched the existing issues and this bug has not been reported yet

Which component is affected?

Prowler UI

Cloud Provider (if applicable)

Not applicable

Steps to Reproduce

Prowler 5.41 after running a scan manually, we are unable to download the zip results.

The GUI reports an "Unable to prepare the scan report".
The logs return a 404 for /api/scans//report?preflight=1.

The scan completes successfully, output_location is populated in the scans table, and the ZIP file exists and is readable inside the API container.

The issue affects newly-created scans as well as older scans.

Work around is to copy the zip file to another outside the docker container and SCP the file out for usage.

Expected behavior

I would like to download the zip file from the web UI.

Actual Result with Screenshots or Logs

ERROR: Image

LOGS:

`api-1     | 2026-09-08 19:26:44 [api] INFO: (middleware) [module=middleware path=/home/prowler/backend/api/middleware.py line=66 function=__call__ process=54 thread=127614675297984 transaction-id=5c230571f2bc41739e837c2c9dab6a6f]  (N/A) [N/A] "GET /health/live" with parameters {} done in 0.0006356239318847656s: 200

api-1     | 2026-09-08 19:26:54 [api] INFO: (middleware) [module=middleware path=/home/prowler/backend/api/middleware.py line=66 function=__call__ process=57 thread=127614675297984 transaction-id=4f8f11bb4f68487abdf424f3f66cfb0e]  (N/A) [N/A] "GET /api/scans/01a08260-678a-78f2-a3e3-d832d61ec24c/report" with parameters {'preflight': '1'} done in 0.009400129318237305s: 404

api-1     | 2026-09-08 19:26:54 [django.request] WARNING: (log) [module=log path=/home/prowler/.venv/lib/python3.12/site-packages/django/utils/log.py line=253 function=log_response process=57 thread=127614375155392 transaction-id=4f8f11bb4f68487abdf424f3f66cfb0e] Not Found: /api/scans/01a08260-678a-78f2-a3e3-d832d61ec24c/report 404

api-1     | 2026-09-08 19:26:54 [django.request] WARNING: (log) [module=log path=/home/prowler/.venv/lib/python3.12/site-packages/django/utils/log.py line=253 function=log_response process=57 thread=127614375155392 transaction-id=4f8f11bb4f68487abdf424f3f66cfb0e] Not Found: /api/scans/01a08260-678a-78f2-a3e3-d832d61ec24c/report 404

api-1     | 2026-09-08 19:26:54 [api] INFO: (middleware) [module=middleware path=/home/prowler/backend/api/middleware.py line=66 function=__call__ process=57 thread=127614675297984 transaction-id=34c869f4e57c4bdc8b929143990ca065]  (N/A) [N/A] "GET /health/live" with parameters {} done in 0.0007219314575195312s: 200`

SQLDB:

-[ RECORD 1 ]---+--------------------------------------------------------------------------------------------------------------------------------------------------------------
id              | 01a08260-678a-78f2-a3e3-d832d61ec24c
state           | completed
output_location | /tmp/prowler_api_output/66702929-3d38-4d8a-9cbe-c0d407ddca2c/01a08260-678a-78f2-a3e3-d832d61ec24c/prowler-output-<REDACTED>-com-20260908185551.zip

OUTPUT LOCATION:

prowler@prowler-api:~/backend$ ls -l "/tmp/prowler_api_output/66702929-3d38-4d8a-9cbe-c0d407ddca2c/01a08260-678a-78f2-a3e3-d832d61ec24c/prowler-output-<REDACTED>-com-20260908185551.zip"
-rw-r--r-- 1 prowler prowler 1685136 Sep  8 19:01 /tmp/prowler_api_output/66702929-3d38-4d8a-9cbe-c0d407ddca2c/01a08260-678a-78f2-a3e3-d832d61ec24c/prowler-output-<REDACTED>-com-20260908185551.zip

How did you install Prowler?

Docker (docker pull toniblyx/prowler)

Environment Resource

Docker container locally

OS used

Ubuntu 24.04.5 LTS

Prowler version

Prowler 5.41

Python version

Python 3.12.3

Pip version

N\A

Context

No response