Error in create external snapshot

Hi
i tried to configure external_snapshot to amazon s3 and external image storage with below configuration

grafana:
grafana.ini:
snapshots:
external_enabled: true
external_snapshot_url: https://s3.console.aws.amazon.com/
external_snapshot_name: Publish to amazonaws s3
public_mode: true
snapshot_remove_expired: true
external_image_storage:
provider: s3
external_image_storage.s3:
endpoint: http://bucketname.s3-website-ap-south-1.amazonaws.com
bucket:
bucket_url: https://bucketname.s3.ap-south-1.amazonaws.com/
region: ap-south-1
access_key: xxxxx
secret_key: xxxxxx

t=2021-09-03T04:50:31+0000 lvl=eror msg=“Failed to create external snapshot” logger=context userId=1 orgId=1 uname=admin error=“create external snapshot response status code 404”

t=2021-09-03T04:50:31+0000 lvl=eror msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=POST path=/api/snapshots status=500 remote_addr=192.168.65.3 time_ms=327 size=48 referer=“http://localhost/d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&refresh=10s&from=now-5m&to=now

when im taking snapshot and publish to s3
am getting an error failed to create external snapshot.

can anyone help me on this ?
Thanks.

Try changing
external_snapshot_url:
to
external_snapshot_url: https://s3.us-west-2.amazonaws.com
or your desired region.