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

2 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Sep 2015

    Posted 17 Oct Link to this post

    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.

  2. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 19 Oct Link to this post

    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.
     
Back to Top