[I] add message error, clear some http code and fix the file upload