Content-type: text/html [inja.exception.render_error] type must be array