{"action":"created","issue":{"url":"https://api.github.com/repos/thumbor-community/aws/issues/45","labels_url":"https://api.github.com/repos/thumbor-community/aws/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/thumbor-community/aws/issues/45/comments","events_url":"https://api.github.com/repos/thumbor-community/aws/issues/45/events","html_url":"https://github.com/thumbor-community/aws/issues/45","id":126911209,"number":45,"title":"Parameter validation failed using result_storage","user":{"login":"eduherraiz","id":717200,"avatar_url":"https://avatars.githubusercontent.com/u/717200?v=3","gravatar_id":"","url":"https://api.github.com/users/eduherraiz","html_url":"https://github.com/eduherraiz","followers_url":"https://api.github.com/users/eduherraiz/followers","following_url":"https://api.github.com/users/eduherraiz/following{/other_user}","gists_url":"https://api.github.com/users/eduherraiz/gists{/gist_id}","starred_url":"https://api.github.com/users/eduherraiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduherraiz/subscriptions","organizations_url":"https://api.github.com/users/eduherraiz/orgs","repos_url":"https://api.github.com/users/eduherraiz/repos","events_url":"https://api.github.com/users/eduherraiz/events{/privacy}","received_events_url":"https://api.github.com/users/eduherraiz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-15T16:51:57Z","updated_at":"2016-01-20T16:00:26Z","closed_at":null,"body":"I'm testing this thumbor_aws fork trying to include it my docker-thumbor image:\r\nhttps://github.com/APSL/docker-thumbor/issues/4\r\n\r\nThe case is, is working when put a image at s3 storage, but when try to put the same with the result_storage I get the exception:\r\n```\r\nthumbor_1 | 2016-01-15 16:30:03 thumbor:ERROR ERROR: Traceback (most recent call last):\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tornado/web.py\", line 1401, in _stack_context_handle_exception\r\nthumbor_1 |     raise_exc_info((type, value, traceback))\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tornado/stack_context.py\", line 314, in wrapped\r\nthumbor_1 |     ret = fn(*args, **kwargs)\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/thumbor/handlers/__init__.py\", line 343, in save_to_result_storage\r\nthumbor_1 |     context.modules.result_storage.put(results)\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tc_aws/result_storages/s3_storage.py\", line 35, in put\r\nthumbor_1 |     self.set(bytes, path)\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tc_aws/aws/storage.py\", line 80, in set\r\nthumbor_1 |     callback=self._handle_error,\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tornado/concurrent.py\", line 473, in wrapper\r\nthumbor_1 |     future.result()\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tornado/concurrent.py\", line 232, in result\r\nthumbor_1 |     raise_exc_info(self._exc_info)\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tornado/concurrent.py\", line 461, in wrapper\r\nthumbor_1 |     result = f(*args, **kwargs)\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tc_aws/aws/bucket.py\", line 98, in put\r\nthumbor_1 |     session.call(**args)\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tornado_botocore/base.py\", line 97, in call\r\nthumbor_1 |     return self._make_api_call(operation_name=self.operation, api_params=kwargs, callback=callback)\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/tornado_botocore/base.py\", line 58, in _make_api_call\r\nthumbor_1 |     request_dict = self.client._convert_to_request_dict(api_params, operation_model)\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/botocore/client.py\", line 369, in _convert_to_request_dict\r\nthumbor_1 |     api_params, operation_model)\r\nthumbor_1 |   File \"/usr/local/lib/python2.7/site-packages/botocore/validate.py\", line 273, in serialize_to_request\r\nthumbor_1 |     raise ParamValidationError(report=report.generate_report())\r\nthumbor_1 | ParamValidationError: Parameter validation failed:\r\nthumbor_1 | Invalid type for parameter Metadata, value: <tornado.httputil.HTTPHeaders object at 0x7fefb14277d0>, type: <class 'tornado.httputil.HTTPHeaders'>, valid types: <type 'dict'>\r\n```\r\n\r\nI tried but I can't see the problem. "},"comment":{"url":"https://api.github.com/repos/thumbor-community/aws/issues/comments/173249136","html_url":"https://github.com/thumbor-community/aws/issues/45#issuecomment-173249136","issue_url":"https://api.github.com/repos/thumbor-community/aws/issues/45","id":173249136,"user":{"login":"Bladrak","id":1321977,"avatar_url":"https://avatars.githubusercontent.com/u/1321977?v=3","gravatar_id":"","url":"https://api.github.com/users/Bladrak","html_url":"https://github.com/Bladrak","followers_url":"https://api.github.com/users/Bladrak/followers","following_url":"https://api.github.com/users/Bladrak/following{/other_user}","gists_url":"https://api.github.com/users/Bladrak/gists{/gist_id}","starred_url":"https://api.github.com/users/Bladrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bladrak/subscriptions","organizations_url":"https://api.github.com/users/Bladrak/orgs","repos_url":"https://api.github.com/users/Bladrak/repos","events_url":"https://api.github.com/users/Bladrak/events{/privacy}","received_events_url":"https://api.github.com/users/Bladrak/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T16:00:26Z","updated_at":"2016-01-20T16:00:26Z","body":"I think you may have an issue with your configuration, when you set the value False, you put it between quotes, maybe try removing them?\r\nThis doesn't mean that there's no issue, given that ``TC_AWS_STORE_METADATA`` should otherwise work properly..."}}