The same as #40011, #40012 and #40018 error handling