AWS - PermanentRedirect

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
Gurgen
Posts: 34
Joined: Thu Dec 10, 2015 2:09 pm

AWS - PermanentRedirect

Post by Gurgen » Thu Nov 15, 2018 9:50 am

Hi all,

I'm facing with a problem using AWS Library. When I'm trying to upload an object using AWSS3PutObject is sends a callback with error message :
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>PermanentRedirect</Code><Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message><Endpoint>bxs.img.s3.amazonaws.com</Endpoint><Bucket>bxs.img</Bucket><RequestId>0C6B3DEV4C0F72B2</RequestId><HostId>UhmVi8sd2p7YrBv+9sI9NDXwC7JNn1aUAjBn4d/qUlIsjnFkFaLo3rzwHR9/lyg8yqlnJlqM=</HostId></Error>
The only way I can change something is the custom headers.
How can I specify the endpoint?

Thanks,
Gurgen

Post Reply

Return to “Talking LiveCode”