Added handler for error with max upload size