{"action":"created","issue":{"url":"https://api.github.com/repos/hakanensari/peddler/issues/33","labels_url":"https://api.github.com/repos/hakanensari/peddler/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/hakanensari/peddler/issues/33/comments","events_url":"https://api.github.com/repos/hakanensari/peddler/issues/33/events","html_url":"https://github.com/hakanensari/peddler/issues/33","id":59834213,"number":33,"title":"Put Transport Content","user":{"login":"jmcmains","id":1276239,"avatar_url":"https://avatars.githubusercontent.com/u/1276239?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcmains","html_url":"https://github.com/jmcmains","followers_url":"https://api.github.com/users/jmcmains/followers","following_url":"https://api.github.com/users/jmcmains/following{/other_user}","gists_url":"https://api.github.com/users/jmcmains/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcmains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcmains/subscriptions","organizations_url":"https://api.github.com/users/jmcmains/orgs","repos_url":"https://api.github.com/users/jmcmains/repos","events_url":"https://api.github.com/users/jmcmains/events{/privacy}","received_events_url":"https://api.github.com/users/jmcmains/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-04T17:46:50Z","updated_at":"2015-03-05T16:52:54Z","closed_at":null,"body":"Running into another bug and I'm wondering if this is the issue:\r\n\r\ncode looks like this:\r\n        def put_transport_content(shipment_id, is_partnered, shipment_type, transport_details)\r\n            operation('PutTransportContent')\r\n                .add(\r\n                    'ShipmentId' => shipment_id,\r\n                    'IsPartnered' => is_partnered,\r\n                    'ShipmentType' => shipment_type,\r\n                    'TransportDetails' => transport_details\r\n                )\r\n                run\r\n        end\r\n\r\nother similar functions include:\r\n        def put_transport_content(shipment_id, is_partnered, shipment_type, transport_details)\r\n                operation('PutTransportContent')\r\n                        .add(opts.update(\r\n                        'ShipmentId' => shipment_id,\r\n                        'IsPartnered' => is_partnered,\r\n                        'ShipmentType' => shipment_type,\r\n                        'TransportDetails' => transport_details\r\n                        ))\r\n                .structure!('PackageList', 'member')\r\n                run\r\n        end\r\n\r\nno idea what the extra code does, but similar functions have it and this seems to be missing it.\r\nbeen getting another \"Excon::Errors::BadRequest: Expected(200) <=> Actual(400 Bad Request)\"\r\nand everything from what I can tell everything I enter should work (I even did a get_transport_content and copied the data with no luck). Thoughts?"},"comment":{"url":"https://api.github.com/repos/hakanensari/peddler/issues/comments/77401719","html_url":"https://github.com/hakanensari/peddler/issues/33#issuecomment-77401719","issue_url":"https://api.github.com/repos/hakanensari/peddler/issues/33","id":77401719,"user":{"login":"jmcmains","id":1276239,"avatar_url":"https://avatars.githubusercontent.com/u/1276239?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcmains","html_url":"https://github.com/jmcmains","followers_url":"https://api.github.com/users/jmcmains/followers","following_url":"https://api.github.com/users/jmcmains/following{/other_user}","gists_url":"https://api.github.com/users/jmcmains/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcmains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcmains/subscriptions","organizations_url":"https://api.github.com/users/jmcmains/orgs","repos_url":"https://api.github.com/users/jmcmains/repos","events_url":"https://api.github.com/users/jmcmains/events{/privacy}","received_events_url":"https://api.github.com/users/jmcmains/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T16:52:54Z","updated_at":"2015-03-05T16:52:54Z","body":"still getting the same error :/ Tried making it in code and doing a get_transport_content as well and both failed."}}