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

Outlook (msg) file format upload issue to Everlive for temporary storage

1 Answer 203 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 18 Oct 2016, 02:26 AM

We are developing a solution to upload different file formats to Everlive for temporary storage.  We've been successful for all formats except for *.msg (MS Outlook) file where we run into a 'Bad Request 400 error' (see attached 'BadRequestError.png').  As shown in the 'MsgFailedUpload.jpg', the 'type' property is not populated when tuploading a msg file.  For other files, the type property is populated as expected as shown in 'DocFileUpload.png'.  

Does Everlive has any limitations preventing us to upload *.msg file format?  Please recommend any changes in order to overcome the error for uploading msg file format.

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 19 Oct 2016, 10:39 AM
Hi David,

Thanks for posting to the Telerik developer forums.

The issue you are reporting consists of a few points which I will address below.

You are correct, the Kendo UI Upload widget does not populate the type (which corresponds to the MIME type of the file, which most probably for this file types should be application/vnd.ms-outlook) field of the rawFile selected when a MSG file is selected. This will be further investigated with the Kendo UI team.

The reason you are getting a 400 status code from the server is not visible from the attached screenshots. Most probably this should be a missing Content-Type header (for example, Content-Type:multipart/form-data; ) and/or a missing field of the file JSON representation.  However, to be able to further investigate this issue I would like to ask you to provide a sample that replicates the issue.

I have used the following code to try to replicate the issue but to no avail. Please use it to provide an example of the issue you encountered (note that you have to enter the API key of your backend project to use the example).

Regards,
Anton Dobrev
Telerik by Progress
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
Tags
General Discussion
Asked by
David
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or