Fix old errors on integration, reporting wrong return type, is not xml but html, and fix some messages in Polish