Regarding Rclone config

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

I want to transfer some amount of data from G-drive to AWS. I have already configured both palteform and also confirmed about access. Still AWS is asking me to create new bucket.

What is the problem you are having with rclone?

Run the command 'rclone version' and share the full output of the command.

rclone v1.71.0

  • os/version: ubuntu 24.04 (64 bit)
  • os/kernel: 6.11.0-26-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.25.0
  • go/linking: static
  • go/tags: nonend

Which cloud storage system are you using? (eg Google Drive)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

2025/09/12 13:54:47 CRITICAL: Failed to create file system for "remote:tmp": didn't find section in config file ("remote")

Paste command here

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[gdrive]
type = drive
scope = drive
token = XXX
team_drive = XXX
root_folder_id =
[s3]
type = s3
provider = AWS
env_auth = true
region = eu-west-1
location_constraint = eu-west-1

Double check the config for sensitive info before posting publicly

Paste config here

A log from the command that you were trying to run with the -vv flag

2025/09/12 13:55:58 DEBUG : rclone: Version "v1.71.0" starting with parameters ["rclone" "copy" "/home/parthkumarsorthiya/Downloads/SSD_DATA.xlsx" "s3:ab-ds-testing/" "-vv"]
2025/09/12 13:55:58 DEBUG : Creating backend with remote "/home/parthkumarsorthiya/Downloads/SSD_DATA.xlsx"
2025/09/12 13:55:58 DEBUG : Using config file from "/home/parthkumarsorthiya/.config/rclone/rclone.conf"
2025/09/12 13:55:58 DEBUG : fs cache: renaming child cache item "/home/parthkumarsorthiya/Downloads/SSD_DATA.xlsx" to be canonical for parent "/home/parthkumarsorthiya/Downloads"
2025/09/12 13:55:58 DEBUG : Creating backend with remote "s3:ab-ds-testing/"
2025/09/12 13:55:58 DEBUG : fs cache: renaming cache item "s3:ab-ds-testing/" to be canonical "s3:ab-ds-testing"
2025/09/12 13:55:58 DEBUG : SSD_DATA.xlsx: Need to transfer - File not found at Destination
2025/09/12 13:55:58 ERROR : SSD_DATA.xlsx: Failed to copy: failed to prepare upload: operation error S3: CreateBucket, https response error StatusCode: 403, RequestID: WKHNRS3A92WKVY7Q, HostID: v/cUGIibt6OsEz2cSM6ZD8WgNl4wudG/cSMcS41m55fmPmaQHVNhZeC9Q+WaPrXyqB7aA+AkoAQ=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:CreateBucket on resource: "arn:aws:s3:::ab-ds-testing" because no identity-based policy allows the s3:CreateBucket action
2025/09/12 13:55:58 ERROR : Attempt 1/3 failed with 1 errors and: failed to prepare upload: operation error S3: CreateBucket, https response error StatusCode: 403, RequestID: WKHNRS3A92WKVY7Q, HostID: v/cUGIibt6OsEz2cSM6ZD8WgNl4wudG/cSMcS41m55fmPmaQHVNhZeC9Q+WaPrXyqB7aA+AkoAQ=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:CreateBucket on resource: "arn:aws:s3:::ab-ds-testing" because no identity-based policy allows the s3:CreateBucket action
2025/09/12 13:55:58 DEBUG : SSD_DATA.xlsx: Need to transfer - File not found at Destination
2025/09/12 13:55:58 ERROR : SSD_DATA.xlsx: Failed to copy: failed to prepare upload: operation error S3: CreateBucket, https response error StatusCode: 403, RequestID: WKHZ1MR5P8CQD07G, HostID: 3lGu4nnHM8mQQPlki0C76mbT85DBot+aKa9ie+y/jf9BmZU4Qp35Lby3EWLFdG5l8WQOrn+P2KI=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:CreateBucket on resource: "arn:aws:s3:::ab-ds-testing" because no identity-based policy allows the s3:CreateBucket action
2025/09/12 13:55:58 ERROR : Attempt 2/3 failed with 1 errors and: failed to prepare upload: operation error S3: CreateBucket, https response error StatusCode: 403, RequestID: WKHZ1MR5P8CQD07G, HostID: 3lGu4nnHM8mQQPlki0C76mbT85DBot+aKa9ie+y/jf9BmZU4Qp35Lby3EWLFdG5l8WQOrn+P2KI=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:CreateBucket on resource: "arn:aws:s3:::ab-ds-testing" because no identity-based policy allows the s3:CreateBucket action
2025/09/12 13:55:59 DEBUG : SSD_DATA.xlsx: Need to transfer - File not found at Destination
2025/09/12 13:55:59 ERROR : SSD_DATA.xlsx: Failed to copy: failed to prepare upload: operation error S3: CreateBucket, https response error StatusCode: 403, RequestID: VZW58771VY7H4TDH, HostID: OO+2Y8glboq0aabypiiDYTsn7KMgGXAvpXUxTU1JCzALp6dgP9WsRM90QRewmglfMNIwRNyAFLg=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:CreateBucket on resource: "arn:aws:s3:::ab-ds-testing" because no identity-based policy allows the s3:CreateBucket action
2025/09/12 13:55:59 ERROR : Attempt 3/3 failed with 1 errors and: failed to prepare upload: operation error S3: CreateBucket, https response error StatusCode: 403, RequestID: VZW58771VY7H4TDH, HostID: OO+2Y8glboq0aabypiiDYTsn7KMgGXAvpXUxTU1JCzALp6dgP9WsRM90QRewmglfMNIwRNyAFLg=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:CreateBucket on resource: "arn:aws:s3:::ab-ds-testing" because no identity-based policy allows the s3:CreateBucket action
2025/09/12 13:55:59 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.2s
2025/09/12 13:55:59 DEBUG : 6 go routines active
2025/09/12 13:55:59 NOTICE: Failed to copy: failed to prepare upload: operation error S3: CreateBucket, https response error StatusCode: 403, RequestID: VZW58771VY7H4TDH, HostID: OO+2Y8glboq0aabypiiDYTsn7KMgGXAvpXUxTU1JCzALp6dgP9WsRM90QRewmglfMNIwRNyAFLg=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:CreateBucket on resource: "arn:aws:s3:::ab-ds-testing" because no identity-based policy allows the s3:CreateBucket action

Paste  log here

welcome to the forum,

i assume that you are not using rclone default suggeseted bucket policy?

some workarounds are

  • use rclone suggested bucket policy
  • add --s3-no-check-bucket to the command
  • add no_check_bucket = true to the config file
Thanks for your response. But still same error. 

<pre><font color="#26A269"><b>parthkumarsorthiya@ABAI-MUC-NB009</b></font>:<font color="#12488B"><b>~</b></font>$ rclone copy /home/parthkumarsorthiya/Downloads/SSD_DATA.xlsx s3:ab-ds-testing/ --s3-no-check-bucket 2025/09/12 14:11:06 ERROR : SSD_DATA.xlsx: Failed to copy: operation error S3: PutObject, https response error StatusCode: 403, RequestID: HTPSZ76WT7PVTE9B, HostID: n5UlrVA6ed9CLcMRFSYJUwORxxbTDtMyXNBsfl3ETaDWMjZmAipzydR0NCrXKMXM2b+FkL7q6Nk=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:PutObject on resource: &quot;arn:aws:s3:::ab-ds-testing/SSD_DATA.xlsx&quot; because no identity-based policy allows the s3:PutObject action 2025/09/12 14:11:06 ERROR : Attempt 1/3 failed with 1 errors and: operation error S3: PutObject, https response error StatusCode: 403, RequestID: HTPSZ76WT7PVTE9B, HostID: n5UlrVA6ed9CLcMRFSYJUwORxxbTDtMyXNBsfl3ETaDWMjZmAipzydR0NCrXKMXM2b+FkL7q6Nk=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:PutObject on resource: &quot;arn:aws:s3:::ab-ds-testing/SSD_DATA.xlsx&quot; because no identity-based policy allows the s3:PutObject action 2025/09/12 14:11:06 ERROR : SSD_DATA.xlsx: Failed to copy: operation error S3: PutObject, https response error StatusCode: 403, RequestID: HTPXYFT2AP10YFEM, HostID: bHflAfWzVMxdljFApZcn8ZpZJi8/aJWsmLJx1KEkbk4V7EOuXw718h2bA+Bqf7sLudTrUjgUS7s=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:PutObject on resource: &quot;arn:aws:s3:::ab-ds-testing/SSD_DATA.xlsx&quot; because no identity-based policy allows the s3:PutObject action 2025/09/12 14:11:06 ERROR : Attempt 2/3 failed with 1 errors and: operation error S3: PutObject, https response error StatusCode: 403, RequestID: HTPXYFT2AP10YFEM, HostID: bHflAfWzVMxdljFApZcn8ZpZJi8/aJWsmLJx1KEkbk4V7EOuXw718h2bA+Bqf7sLudTrUjgUS7s=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:PutObject on resource: &quot;arn:aws:s3:::ab-ds-testing/SSD_DATA.xlsx&quot; because no identity-based policy allows the s3:PutObject action 2025/09/12 14:11:07 ERROR : SSD_DATA.xlsx: Failed to copy: operation error S3: PutObject, https response error StatusCode: 403, RequestID: XEC6Q7TGW738D7W3, HostID: MShwLDHYAQ+nP5yDQJZ703bBavGH74IkXpqzqJwHk2vZ65CldR7c+6+88YdNc1yO/Dlp9m9+66w=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:PutObject on resource: &quot;arn:aws:s3:::ab-ds-testing/SSD_DATA.xlsx&quot; because no identity-based policy allows the s3:PutObject action 2025/09/12 14:11:07 ERROR : Attempt 3/3 failed with 1 errors and: operation error S3: PutObject, https response error StatusCode: 403, RequestID: XEC6Q7TGW738D7W3, HostID: MShwLDHYAQ+nP5yDQJZ703bBavGH74IkXpqzqJwHk2vZ65CldR7c+6+88YdNc1yO/Dlp9m9+66w=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:PutObject on resource: &quot;arn:aws:s3:::ab-ds-testing/SSD_DATA.xlsx&quot; because no identity-based policy allows the s3:PutObject action 2025/09/12 14:11:07 NOTICE: Failed to copy: operation error S3: PutObject, https response error StatusCode: 403, RequestID: XEC6Q7TGW738D7W3, HostID: MShwLDHYAQ+nP5yDQJZ703bBavGH74IkXpqzqJwHk2vZ65CldR7c+6+88YdNc1yO/Dlp9m9+66w=, api error AccessDenied: User: arn:aws:sts::223404677305:assumed-role/AWSReservedSSO_Level_4_176969f6c42407de/parthkumar.sorthiya@autobrains.ai is not authorized to perform: s3:PutObject on resource: &quot;arn:aws:s3:::ab-ds-testing/SSD_DATA.xlsx&quot; because no identity-based policy allows the s3:PutObject action</pre>

that is not the same error as before.
check that your bucket policy contains PutObject


need to post full rclone debug output. not just one-line snippets.
and to keep the log small, add --retries=1