Http request error 404

I’m configuring my app to use VoltBuilder, but I’m having a problem, I can’t make http/https requests either to my apis or to get assets I have on amazon aws. I’m doing the tests on android, this problem only happens when I build via VoltBuilder, running web or building on my machine it works normally.

Can you provide more information? What server is responding with 404?

How can I use the server by compiling on my machine and not with the VoltBuilder compilation I know the server is ok, maybe what is missing is some configuration, I noticed through curl that less information is passed on the volt compilation, I believe it must be some configuration . Any idea? estou usando axios

Curl volt

curl 'https://x' \
  -H 'Whitelabel: x' \
  -H 'Device-Key: x' \
  -H 'longitude: ' \
  -H 'account-uuid: ' \
  -H 'User-Agent: Mozilla/5.0 (Linux; Android 10; moto e(7) plus Build/QPZS30.30-Q3-38-69-10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/105.0.5195.136 Mobile Safari/537.36' \
  -H 'Device-Os: Android' \
  -H 'Accept: application/json' \
  -H 'Device-Id: x' \
  -H 'timezone: -3' \
  -H 'Referer: ' \
  -H 'Device-Info: {"Android-Version":"10","Model":"moto e(7) plus","Serial":"unknown","Manufacturer":"motorola","remember_account_number":false}' \
  -H 'latitude: ' \
  -H 'App-Version: 1.0.0' \
  --compressed

Curl default build

curl 'https://x' \
  -H 'authority: x' \
  -H 'accept: application/json' \
  -H 'accept-language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7' \
  -H 'account-uuid: ' \
  -H 'app-version: 1.0.0' \
  -H 'device-id: x' \
  -H 'device-info: {"Android-Version":"10","Model":"moto e(7) plus","Serial":"unknown","Manufacturer":"motorola","remember_account_number":false}' \
  -H 'device-key: x' \
  -H 'device-os: Android' \
  -H 'latitude: x' \
  -H 'longitude: x' \
  -H 'origin: x' \
  -H 'referer: x' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: cross-site' \
  -H 'timezone: -3' \
  -H 'user-agent: Mozilla/5.0 (Linux; Android 10; moto e(7) plus Build/QPZS30.30-Q3-38-69-10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/105.0.5195.136 Mobile Safari/537.36' \
  -H 'whitelabel: x' \
  -H 'x-requested-with: x' \
  --compressed

Nothing is immediately obvious looking at the headers. What would be helpful would be to show an example of how you are making the call. Also if you could share an example of a request that’s not redacted that could also be helpful. Thanks.

The problem happens due to the lack of this line in my config.xml

<engine name=“android” spec=“11.0.0”

Doc: Building for Android 12 | VoltBuilder