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 the `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!

seems related: Error - AmazonS3 Storage exception

We are investigating the issue.

1 Like

i got the same issue

{
  "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": "b03165b006bd3fa9fa5b8a02a11b19fa",
		"ErrorDateTime": "2025-05-14T20:14:10.4419118+00:00"
	  }
	}
  ]
}

hello, any updates?

i got the same issue.

RequestID: 49dbe162f5e24c3da3bd72687d3b6dc4

image.jpg (26.0 KB)

We have the same problem

{

"Error":{

"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."

},

"RequestId":"9f941ce495837cfd62b05cb9690fbd0f"

}

The fix is already in testing stage, so I hope it will be available soon.

any update on this?

Sorry for the late response, this was fixed the day after it occurred.

I’m having the same problem again. When uploading a file, it returns this error, even though I’m using local storage.

{
"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":
"217d652f5225a5aac3ea94ea7f27e999",
"ErrorDateTime":
"2025-07-15T17:16:52.8899199+00:00"
}
}
]
}

Storage team is working on fix, once it is deployed I will contact you