Upload failed to Arduino Mega 2560 via Bluetooth

The upload with USB is successful and the reset on upload from bluetooth is failing