box error into a message property + delete file