Aspose PDF error

I registered at aspose cloud, made an app.  Got the client id and secret, and put those in the settings in Creatio.  But when trying to print, get this error:

 

 

Request Error

      The server encountered an error processing the request. The exception message is 'Bad Request'. See server logs for more details. The exception stack trace is: 

         at Aspose.Words.Cloud.Sdk.RequestHandlers.ApiExceptionRequestHandler.ThrowApiException(HttpWebResponse webResponse, Stream resultStream)

   at Aspose.Words.Cloud.Sdk.RequestHandlers.ApiExceptionRequestHandler.ProcessResponse(HttpWebResponse response, Stream resultStream)

   at System.Collections.Generic.List`1.ForEach(Action`1 action)

   at Aspose.Words.Cloud.Sdk.ApiInvoker.ReadResponse(WebRequest client, Boolean binaryResponse)

   at Aspose.Words.Cloud.Sdk.ApiInvoker.InvokeInternal(String path, String method, Boolean binaryResponse, String body, Dictionary`2 headerParams, Dictionary`2 formParams, String contentType)

   at Aspose.Words.Cloud.Sdk.RequestHandlers.OAuthRequestHandler.RequestToken()

   at Aspose.Words.Cloud.Sdk.RequestHandlers.OAuthRequestHandler.ProcessUrl(String url)

   at Aspose.Words.Cloud.Sdk.ApiInvoker.<>c__DisplayClass10_0.b__0(IRequestHandler p)

   at System.Collections.Generic.List`1.ForEach(Action`1 action)

   at Aspose.Words.Cloud.Sdk.ApiInvoker.InvokeInternal(String path, String method, Boolean binaryResponse, String body, Dictionary`2 headerParams, Dictionary`2 formParams, String contentType)

   at Aspose.Words.Cloud.Sdk.WordsApi.ConvertDocument(ConvertDocumentRequest request)

   at Terrasoft.Configuration.AsposeCloudPdfConverter.Convert(Byte[] data)

   at Terrasoft.Configuration.ReportService.ReportService.GenerateMSWordReport(String urlTemplateId, String urlRecordUId, Boolean convertInPDF)

   at Terrasoft.Configuration.ReportService.ReportHelper.CreateReport(String entitySchemaUId, String reportSchemaUId, String templateId, String recordId, String reportParameters, Boolean convertInPDF)

   at Terrasoft.Configuration.ReportService.ReportService.CreateReportsList(String entitySchemaUId, String reportSchemaUId, String templateId, String[] recordIds, String reportParameters, Boolean convertInPDF)

   at SyncInvokeCreateReportsList(Object , Object[] , Object[] )

   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)

   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Like 0

Like

3 comments
Best reply

Hi Chris,

 

Here is the feedback we received:

You need to check the values in the Creatio system settings connected to the Aspose service.

Please use the screenshot below to check whether the Aspose setting values match the respective system settings in Creatio.:

 

 

After you apply the changes, we recommend you to log out and log back into Creatio for checking the updates.

 

Hope this helps, 

Have a good day!

Hi Chris,

 

Thank you for your message.

We have forwarded your request to the responsible team.

We will get back to you with a solution as soon as we receive their feedback.

 

Have a good day!

Hi Chris,

 

Here is the feedback we received:

You need to check the values in the Creatio system settings connected to the Aspose service.

Please use the screenshot below to check whether the Aspose setting values match the respective system settings in Creatio.:

 

 

After you apply the changes, we recommend you to log out and log back into Creatio for checking the updates.

 

Hope this helps, 

Have a good day!

Thanks!  That worked.

Show all comments