ESP32 OTA w/ARDUINO error

Hi,
I’ve configured an ESP32 board succesfully with mDash.

When I try to update via OTA (Arduino IDE export .bin) I receive the following error:

17:12:06.304 -> ccm_main.cpp:140 Tick uptime: 684.45, RAM: 254400, 194212 free
17:12:09.263 -> mg_rpc.c:293 OTA.Begin via WSS_out 148.251.54.236:443
17:12:09.263 -> mgos_ota_core.c:253 Starting, timeout 600, commit timeout 600, mem 194584
17:12:09.331 -> mg_rpc.c:293 OTA.Write via WSS_out 148.251.54.236:443
17:12:09.331 -> mgos_ota_core.c:811 Update finished, result -1 (Malformed archive (invalid header))
17:12:09.709 -> mg_rpc.c:293 OTA.Write via WSS_out 148.251.54.236:443
17:12:10.018 -> mg_rpc.c:293 OTA.Write via WSS_out 148.251.54.236:443
17:12:10.255 -> mg_rpc.c:293 OTA.End via WSS_out 148.251.54.236:443
17:12:16.267 -> ccm_main.cpp:140 Tock uptime: 694.45, RAM: 254396, 193984 free

Any hint?

Same error trying with curl

It looks like you’re trying to update Mongoose OS firmware to the Arduino firmware - that won’t work. Use either Mongoose OS, or Arduino.

Solved, my mistake

Thank you very much for your help