Hello Igor Stanek,
The reason for this behavior is that Upload widget requires the response to be in JSON format with Content-Type set to "text/plain". Any non-empty response that is not JSON will be treated as a server error.
I hope this information helps.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI