This is a migrated thread and some comments may be shown as answers.

Exception when receiving null response with Kendo Upload component

1 Answer 210 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Natasha
Top achievements
Rank 1
Natasha asked on 24 Feb 2020, 12:43 PM

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,

 

Natasha

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 26 Feb 2020, 01:17 PM

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. 

Regards,
Ianko
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
Tags
General Discussions
Asked by
Natasha
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or