# 500 error in AWS s3 code

**URL:** <https://meta.discourse.org/t/500-error-in-aws-s3-code/33333>\
**Category:** Product Support\
**Created:** [16 Settembre 2015, 2:52am UTC](https://meta.discourse.org/t/500-error-in-aws-s3-code/33333 "2015-09-16T02:52:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mc0e](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@mc0e](https://meta.discourse.org/u/mc0e)\
**Post date:** [16 Settembre 2015, 1:16pm UTC](https://meta.discourse.org/t/500-error-in-aws-s3-code/33333/5 "2015-09-16T13:16:39Z")

</div>

I have values entered for the following:

- SiteSetting.s3\_access\_key\_id
- SiteSetting.s3\_backup\_bucket
- SiteSetting.s3\_region
- SiteSetting.s3\_secret\_access\_key
- SiteSetting.s3\_use\_iam\_profile (= false)

EDIT: also had `SiteSetting.enable_s3_uploads` set

Not set:

- SiteSetting.s3\_cdn\_url
- SiteSetting.s3\_upload\_bucket

As I understand it, the values look reasonable.

Could it be that the problem arises because I have set `SiteSetting.s3_backup_bucket`, but not `SiteSetting.s3_upload_bucket`? That seems reasonable to do in that I’m curently concerned with off-site backups, not storing uploads off-site, but perhaps it doesn’t work to do this?

---

_[View the full topic](https://meta.discourse.org/t/500-error-in-aws-s3-code/33333)._
