You’re not alone - a few other users have reported issues with Mega.nz lately (see below). Something that worked for a few of them was to make sure to set --upload-verification-file=false.
I had a similar issue with box.com where it appears they are fine with an initial upload but replacing an existing file causes a problem.