html_body = content.decode("utf-8") except UnicodeDecodeError: raise HTTPException(status_code=400, detail="HTML file is not valid UTF-8") problems = validate_html(html_body) > if problems.get("errors"): E AttributeError: 'list' object has no attribute 'get' -- html_body = content.decode("utf-8") except UnicodeDecodeError: raise HTTPException(status_code=400, detail="HTML file is not valid UTF-8") problems = validate_html(html_body) > if problems.get("errors"): E AttributeError: 'list' object has no attribute 'get'