Upload request doesn't hit the endpoint

Hi,

I've got this Uploader: 

Snippet
<SfUploader @ref="uploader" MaxFileSize="@MaxSize" AllowedExtensions=".doc, .docx, .pdf, .xls, .xlsx, .ppt, .pptx, .jpg, .jpeg, .bmp, .png" SequentialUpload="true" AllowMultiple="true" AutoUpload="true">
        <UploaderAsyncSettings RetryCount="3" RetryAfterDelay="10" SaveUrl="/api/files/NewsTempSave" RemoveUrl="/api/files/NewsTempDelete" ChunkSize="@MaxSize">
        </UploaderAsyncSettings>
    </SfUploader>

However, whenever I attempt to test the upload, it returns a Bad Request (Error 400). Am I missing something obvious? For reference, I've attached the API Controller



Attachment: FileController_4b74fdf1.zip

2 Replies

AC Andy Corrigan July 23, 2021 10:24 AM UTC

I've since converted this to bypass the API and it now works by directly dealing with the files in the Blazor component itself.



SN Sevvandhi Nagulan Syncfusion Team July 23, 2021 11:03 AM UTC

Hi Andy, 


Greetings from Syncfusion support. 


We are glad to hear that the reported issue has been resolved. Please get back to us if you need further assistance. 



Regards, 
Sevvandhi N 


Loader.
Up arrow icon