Upload to internal Aspose storage returns “AmazonS3 Storage exception”

Hello

I’m seeing a strange error when uploading a file to my internal Aspose storage via the Aspose Cloud API. Request:

curl -i -X PUT \
  -H 'Host: api.aspose.cloud' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  -H 'x-aspose-client: php sdk' \
  -H 'x-aspose-client-version: 25.4' \
  -H 'Content-Type: application/octet-stream' \
  --data-binary '@/private/var/tmp/curlbody_HNGiov' \
  'https://api.aspose.cloud/v4.0/words/storage/file/{file_path}?storageName=INTERNAL_STORAGE_NAME'

Response (HTTP 200):

{
  "Uploaded": [],
  "Errors": [
    {
      "Code": "error",
      "Message": "AmazonS3 Storage exception: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.",
      "Description": "Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown.",
      "InnerError": {
        "RequestId": "a99123ec202741bbb4f25df9e56b8f90",
        "ErrorDateTime": "2025-05-14T10:56:24.9508117+00:00"
      }
    }
  ]
}

I’m using internal Aspose S3 storage, so an `Amazon.Runtime.Internal.HttpErrorResponseException` doesn’t make sense to me.
The response returns a 200 status code.
I only noticed this issue today.
Let me know if you need more information.

Thanks in advance!

This topic has been moved to the related forum: Upload to internal Aspose storage returns “AmazonS3 Storage exception” - Free Support Forum - aspose.cloud