The same as #40011 and #40012 error handling