Error downloading user-bundle on deployment

Hello I´m trying to secure some clusters with same configuration and there is an error trying to download the bundle.
Endpoint is accesible because if I execute a curl I can download the required certs.

elastic@mxulol22:~$ curl -X GET --proxy 10.120.120.96  http://api.mapher.domain.es/getcerts/cacerts.zip --output certs.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   207  100   207    0     0  25875      0 --:--:-- --:--:-- --:--:-- 25875
elastic@mlserver22:~$ ls -l
total 28
-rw-rw-r-- 1 elastic elastic   207 dic 13 11:56 certs.zip
-rwxrw-r-- 1 elastic elastic 13794 jun 11  2019 diagnostics.sh
drwxrwxr-x 2 elastic elastic  4096 nov 12 12:18 iv
-rw-rw-r-- 1 elastic elastic   465 nov  5  2020 typescript

Deployment version is 8.12.0

These are the logs on container.

2024-12-11T15:51:02+0000 Booting at Wed Dec 11 15:51:02 UTC 2024
2024-12-11T15:51:02+0000 Enabling heap dump on oom
2024-12-11T15:51:03+0000 Installing user plugins.
2024-12-11T15:51:04+0000 Installing user bundles.
2024-12-11T15:51:04+0000 Installing bundle [custom-ca-certs]...
2024-12-11T15:51:04+0000 Downloading bundle [custom-ca-certs]
2024-12-11T15:51:04+0000 --2024-12-11 15:51:04-- http://api.mapher.domain.es/getcerts/cacerts.zip
2024-12-11T15:51:04+0000 Resolving api.mapher.domain.es (api.mapher.domain.es)... 10.160.160.160
2024-12-11T15:51:04+0000 Connecting to api.mapher.domain.es (api.mapher.domain.es)|10.160.160.160|:80... connected.
2024-12-11T15:51:04+0000 Could not download bundle [custom-ca-certs]
2024-12-11T15:51:09+0000 Booting at Wed Dec 11 15:51:09 UTC 2024
2024-12-11T15:51:09+0000 Enabling heap dump on oom
2024-12-11T15:51:10+0000 Installing user plugins.
2024-12-11T15:51:11+0000 Installing user bundles.
2024-12-11T15:51:11+0000 Installing bundle [custom-ca-certs]...
2024-12-11T15:51:11+0000 Downloading bundle [custom-ca-certs]
2024-12-11T15:51:11+0000 --2024-12-11 15:51:11-- http://api.mapher.domain.es/getcerts/cacerts.zip
2024-12-11T15:51:11+0000 Resolving api.mapher.domain.es (api.mapher.domain.es)... 10.160.160.160
2024-12-11T15:51:11+0000 Connecting to api.mapher.domain.es (api.mapher.domain.es)|10.160.160.160|:80... connected.
2024-12-11T15:51:24+0000 Booting at Wed Dec 11 15:51:24 UTC 2024
2024-12-11T15:51:24+0000 Enabling heap dump on oom
2024-12-11T15:51:25+0000 Installing user plugins.
2024-12-11T15:51:26+0000 Installing user bundles.
2024-12-11T15:51:26+0000 Installing bundle [custom-ca-certs]...
2024-12-11T15:51:26+0000 Downloading bundle [custom-ca-certs]
2024-12-11T15:51:26+0000 --2024-12-11 15:51:26-- http://api.mapher.domain.es/getcerts/cacerts.zip
2024-12-11T15:51:26+0000 Resolving api.mapher.domain.es (api.mapher.domain.es)... 10.160.160.160
2024-12-11T15:51:26+0000 Connecting to api.mapher.domain.es (api.mapher.domain.es)|10.160.160.160|:80... connected.
2024-12-11T15:51:26+0000 Could not download bundle [custom-ca-certs]
2024-12-11T15:51:26+0000 HTTP request sent, awaiting response... 404 Not Found
2024-12-11T15:51:39+0000 Booting at Wed Dec 11 15:51:39 UTC 2024
2024-12-11T15:51:39+0000 Enabling heap dump on oom
2024-12-11T15:51:40+0000 Installing user plugins.
2024-12-11T15:51:41+0000 Installing user bundles.
2024-12-11T15:51:41+0000 Installing bundle [custom-ca-certs]...
2024-12-11T15:51:41+0000 Downloading bundle [custom-ca-certs]
2024-12-11T15:51:41+0000 --2024-12-11 15:51:41-- http://api.mapher.domain.es/getcerts/cacerts.zip
2024-12-11T15:51:41+0000 Resolving api.mapher.domain.es (api.mapher.domain.es)... 10.160.160.160
2024-12-11T15:51:41+0000 Connecting to api.mapher.domain.es (api.mapher.domain.es)|10.160.160.160|:80... connected.
2024-12-11T15:51:49+0000 Booting at Wed Dec 11 15:51:49 UTC 2024
2024-12-11T15:51:49+0000 Enabling heap dump on oom
2024-12-11T15:51:50+0000 Installing user plugins.
2024-12-11T15:51:51+0000 Installing user bundles.
2024-12-11T15:51:51+0000 Installing bundle [custom-ca-certs]...
2024-12-11T15:51:51+0000 Downloading bundle [custom-ca-certs]
2024-12-11T15:51:51+0000 --2024-12-11 15:51:51-- http://api.mapher.domain.es/getcerts/cacerts.zip
2024-12-11T15:51:51+0000 Resolving api.mapher.domain.es (api.mapher.domain.es)... 10.160.160.160
[spoiler]
2024-12-11T15:51:51+0000 Connecting to api.mapher.domain.es (api.mapher.domain.es)|10.160.160.160|:80... connected.
2024-12-11T15:51:51+0000 Could not download bundle [custom-ca-certs
[/spoiler]]

Anyone know why connect to URL but couldn't download bundle?
We have other deployment with same template and it works properly

Thanks, regards

SOLVED
in my case endpoint URL must be the folder, not the file:
http://api.mapher.domain.es/getcerts/