diff --git a/codegen/react-html-attributes.json b/codegen/react-html-attributes.json
index 121c781..4fdf253 100644
--- a/codegen/react-html-attributes.json
+++ b/codegen/react-html-attributes.json
@@ -294,7 +294,8 @@
"sizes",
"src",
"width",
- "onLoad"
+ "onLoad",
+ "onError"
],
"input": [
"accept",