Exception when receiving null response with Kendo Upload component

2 posts, 0 answers
  1. Natasha
    Natasha avatar
    4 posts
    Member since:
    Aug 2019

    Posted 24 Feb Link to this post

    Dear Telerik Admin,


    I am using the Kendo Upload component to send a file to my server and in certain cases, it responds with null.

    This causes the upload component to throw the following error:

       "Uncaught TypeError: Cannot read property 'fileUid' of null
        at parseSuccess (webpack:///./node_modules/@progress/kendo-ui/js/kendo.upload.js?:2105)
        at tryParseJSON (webpack:///./node_modules/@progress/kendo-ui/js/kendo.upload.js?:2450)
        at formDataUploadModule.onRequestSuccess (webpack:///./node_modules/@progress/kendo-ui/js/kendo.upload.js?:2131)
        at XMLHttpRequest.eval (webpack:///./node_modules/@progress/kendo-ui/js/kendo.upload.js?:2037)"


    Could you please let me know when this is fixed? 


    Kind regards,



  2. Ianko
    Ianko avatar
    1934 posts

    Posted 26 Feb Link to this post

    Hi Natasha,

    If the server-side implementation returns null I suggest you to take a look and debug the server endpoint. The success handler of the Upload handles whatever is returned from the server. 

    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top