Upload Microsoft Excel Spreadsheet to Cloud Storage throws AmazonS3 exception: The specified key does not exist

We are regularly getting this error:

AmazonS3 exception: Error ‘The specified key does not exist.’, Bucket 'afc-filestorage’

When trying to upload files to

http://api.aspose.com/v1.1/storage/file

This means your cloud service is unusable and our service is down.

We are uploading Excel files for conversion to PDF. Sample file url (signature and appSID changed):

Could not fetch URL: http://api.aspose.com/v1.1/storage/file/SAP-Order-Request-v35-Timothy-King-06-07-2017-04-36-00-PM-GMT-07-00_9800119.xlsx?appSID=abc123&signature=abc123

It looks like we are no longer getting this error. There was an outage yesterday evening between 7:14 PM EDT and 7:37 PM EDT.


This makes our system unreliable.

Hi,

Thank you for contacting support and sharing details.

I have just tested this issue and found file upload service of Aspose.Storage for Cloud API is working fine. ‘The specified key does not exist’ issue is mostly due to wrong signatures or APPSID.

I will further check with my development team might be at mentioned time there will be some sort of maintenance going on server which caused this issue.

Apologies for any inconvenience this may have caused you.

If you have any further questions, please feel free to share.

Thanks,

Naeem Akram
Aspose - File Format APIs.

Got a Complaint? File it!

Keep in touch! We’re on Twitter and Facebook

@jsali

Just as an update, please note now the latest versions of Aspose Cloud APIs have their own API methods for cloud storage operations. So there is no need to use Aspose.Storage Cloud API for the purpose. For example, check the following cURL example to upload an excel file to cloud storage using Aspose.Cells Cloud API. You can check documentation for more details.

// First get JSON Web Token
// Get App Key and App SID from https://dashboard.aspose.cloud/
curl -v "https://api.aspose.cloud/connect/token" \
-X POST \
-d "grant_type=client_credentials&client_id=[APP_SID]&client_secret=[APP_KEY]" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json"


// cURL example to upload file to Aspose Cloud Storage
curl "https://api.aspose.cloud/v3.0/cells/storage/file/sample.xlsx" 
-X PUT
-H "accept: application/json" 
-H "Content-Type: multipart/form-data" 
-T C:/sample.xlsx
-H "authorization: Bearer [ACCESS_TOKEN]"