Aspose Read time-out error in V4 Mirror API

Hi, we are getting the read timeout error while trying to preview the invitation template for V4 mirror links. Below is the request and response we are getting in the debug logs:

Request:
System.HttpRequest[Endpoint=https://api-mirror.aspose.cloud/v4.0/words/merge_cp-451571v5_Digital%20(Live).docx/replaceText?destfilename=merge_cp-451571v5_Digital%20(Live).docx, Method=PUT]

Response:
System.CalloutException: Read timed out

Please check the above issue and let us know if you need more information.

@centris.aspose

You are encountering a read timeout error while calling the Aspose Cloud V4 Mirror API endpoint with a PUT request to replace text in a document . This type of error can occur due to network conditions or server-side processing delays .

To address this issue:

  1. Retry Logic: Implement retry logic in your application to handle transient network issues or temporary server delays. Some Aspose SDKs include built-in retry mechanisms, but custom implementations may be needed depending on your environment .

  2. Increase Timeout Settings: If possible, adjust the HTTP client timeout settings to allow more time for the operation to complete, especially if the document is large or the server is under load .

  3. Check Network Stability: Ensure that the network connection between your application and the Aspose API is stable and has sufficient bandwidth.

If the problem persists, please provide more details or logs for further investigation.

A support engineer will follow up in this thread if needed.

I didn’t find any timeouts on our side, so it’s a Salesforce timeout; we can’t fix it. As soon as the queue feature is available, I will share more details with you.