We're sorry GroupDocsCloud doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.cloud

GroupDocs.Conversion Cloud SDK for .NET

We are getting the below error while calling var responseUpload = fileApi.UploadFile(wordfileRequest);

It is only on some servers. Can you provide any configurations we can check regarding this?

GroupDocs.Conversion.Cloud.Sdk.Client.ApiException: : Failed to read the request form. Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate.
at GroupDocs.Conversion.Cloud.Sdk.Client.RequestHandlers.ApiExceptionRequestHandler.ThrowApiException(HttpWebResponse webResponse, Stream resultStream)
at GroupDocs.Conversion.Cloud.Sdk.Client.RequestHandlers.ApiExceptionRequestHandler.ProcessResponse(HttpWebResponse response, Stream resultStream)
at System.Collections.Generic.List1.ForEach(Action1 action) at GroupDocs.Conversion.Cloud.Sdk.Client.ApiInvoker.ReadResponse(WebRequest client, Boolean binaryResponse)
at GroupDocs.Conversion.Cloud.Sdk.Client.ApiInvoker.InvokeInternal(String path, String method, Boolean binaryResponse, String body, Dictionary2 headerParams, Dictionary2 formParams, String contentType)
at GroupDocs.Conversion.Cloud.Sdk.Api.FileApi.UploadFile(UploadFileRequest request)


There could be different reasons for the error: the structure of the input document or some network issue. Please share some problematic input document(s) and also confirm which storage you are using for this purpose. We will try to reproduce the issue and investigate it.

symbol.ttf.zip (67.4 KB)
We use this Nuget package v21.4.1 : https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-dotnet

Here is the code, error is at fileApi.UploadFile. We are uploading a font file. I had to add .zip to attach here.

var configuration = new Configuration(AppSettings.GroupDocsAppSID, AppSettings.GroupDocsAppKey);
var fileApi = new FileApi(configuration);
//Upload fonts
var fontFileName = System.IO.Path.Combine(AppSettings.SentinelResourcesFolder, “symbol.ttf”);
using (var fileStream = File.OpenRead(fontFileName))
var wordfileRequest = new UploadFileRequest($“Fonts/{Path.GetFileName(fontFileName)}”, fileStream);
var responseUpload = fileApi.UploadFile(wordfileRequest);

Looks like PUT to this endpoint may be causing the error https://api.groupdocs.cloud/v2.0/conversion/storage/file/{path}


I have tested the scenario using GroupDocs.Conversion Cloud SDK for .NET 23.4 and have not noticed any issues. Please upgrade your SDK version; the issue will be resolved.