This is likey to be because there is not enough space left on the device to hold the uploaded image. If you could somehow ssh to the miner then just du -a / | sort -n -r | head -n 20 to see the big folders and remove some redundant ones to free up some space. Alternatively flash it with SD card.