S3 Access Denied Exception

Not applicable

I had an API that runs S3.postObject that was working on Friday (and had been working for months). Something happened on Friday that prevents this code from working (we made no changes). Here's a sample version of what we're sending:

        var params = {
            Bucket: 'bucketid',
            Key: 'randomtext',
            Body: '-',
            ServerSideEncryption: 'AES256'
        };


        s3.putObject(params, function(err, data) {
            if (err){     
                console.error(err, err.stack);                 
            }
        });

I've run the same code from many machines and environments and it works, so it leads me to believe something happened w/in the Apigee environment. Has anything been changed recently?

Thanks,

Orion

0 2 207
2 REPLIES 2

Not applicable

Hi there!

Can you please share some more details about your org and env name where you are running into this issue? If you are a paid customer, please open a support ticket with all the required details to get it resolved sooner.

Thanks,

Archendra

Not applicable

Organization: jnj

Environment: test