My folder configuration in Amazon S3 looks like BucketName/R/A/123
now i want to add another folder under my Bucket and want to save data as BucketName/**I**/A/123
. When i try to save my data, i get an error:
<Error><Code>AccessDenied</Code><Message>Invalid according to Policy: Policy Condition failed: ["starts-with", "$key", "R/"]</Message></Error>
I understand i need to give some permission for folder I to be created under this Bucket but i am struggling to find where.
Can anyone point me where i need to make a change.
Thanks