Free Support Forum - aspose.cloud

Aspose.Storage Cloud API cURL command returns timeout Exception

We began receiving timeout exceptions a couple of minutes ago when calling the storage api.

Example url:

http://api.aspose.com/v1.1/storage/file/Palmer-Jimmie-02312-37-23-Nov-03-2017_2940093.xltx?appSID={appSID}&signature={signature}

Please advise.

@jsali

I tested a couple of Aspose.Storage APIs and they are working fine. Are you still getting timeout exceptions? Our Platform team is checking logs to ensure whether there is some outage or fault that may have caused these timeout exceptions. I will update you here.

@jsali

As an updated, please note, now storage APIs are included in the latest API Version V3 of Aspose.Cells Cloud API. There is no need to use Aspose.Storage Cloud API anymore for storage operations. Please check sample cURL command for upload file to cloud storage.

// First get Access Token
// Get App Key and App SID from https://dashboard.aspose.cloud/
curl -X POST "https://api.aspose.cloud/connect/token" 
-d "grant_type=client_credentials&client_id=xxxx-xxxx-xxxx-xxxx-xxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxx" 
-H "Content-Type: application/x-www-form-urlencoded" 
-H "Accept: application/json"

//Upload File to Cloud Storage
curl -X PUT "https://api.aspose.cloud/v3.0/cells/storage/file/Temp/Test.xlsx" 
-H "accept: application/json" 
-H "authorization: Bearer [Access_Token]" 
-H "x-aspose-client: Containerize.Swagger" 
-H "Content-Type:application/octet-stream" 
--data-binary @C:/Temp/statistics.xlsx