@yaroslaw.ekimov Thanks for the update.
If I can’t reproduce it, I will share the changed code with you. You can check the difference—it’s mostly in logging—and update it on your side to have more logs.
Thanks for the update and looking forward for the updated code.
Sure, will share it tomorrow.
Before we try a new code version, please try a mirrored version of our api
https://api-mirror.aspose.cloud/ use it as a base URL instead of api.aspose.cloud
Our admins detected some strange behavior in the cluster, and we are trying to prove that it is somehow connected to the routers outside our cluster.
I have shared this with the developer and once I get the test results will share.
Sure, we are waiting for your feedback
We tried with mirrored version of api base url https://api-mirror.aspose.cloud/ and observed same error as earlier -
DataSourceException: Aspose API HTTP Error 400: Bad Request - Response: {
“errors”: {
“”: [
“Failed to read the request form. Missing content-type boundary.”
]
},
“type”: “RFC 9110 - HTTP Semantics”,
“title”: “One or more validation errors occurred.”,
“status”: 400,
“traceId”: “00-98c45a36dbccf2def7eea95a6f62eb47-112f5c7ec5798b4c-01”
}
I see, that error occurs on get token method, right?
@yaroslaw.ekimov
We are getting access token successfully.
Error occurs for upload file api End Point (Please refer Line 160 in AsposeService.cls)
signedURI = Aspose.BaseProductUri + ‘/words/storage/file/’ + fileName;
I will run that code in my org, in tests to replicate
any update on this?
I’m testing this method. I haven’t gotten that error yet, but once, I ran into a timeout, so I shared that info with the admin team.
Any update from the Admin team?
I asked them, waiting for the response.
Hi, Any further update?
They’ve been working on the connection issue, but it’s not done yet.
By the way, I’ve been testing the mirror address I shared above with the code sample you shared, but simplified for testing. I’m attaching it to that topic. Please take a look, run it in the developer console to check if the file was uploaded correctly.
public class AsposeCloudHomeControllerTests.docx (14.9 KB)
Hi, do you have any update from the team which we can share with our leadership?
Did you read my last message? Have you tried the code I shared to upload files, to check if it works on your side.
We tried deploying the code mentioned in class you have provided using Apose 4.0 version. We are getting below exception in downloadFile API.
common.apex.runtime.impl.ExecutionException: Read timed out
-Exception.jpg (260.5 KB)
-Read Timed out error - Test class changes.png (480.3 KB)
Please refer debug logs:
downloadFile-read timedoutLog.docx (342.6 KB)