{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/781","labels_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/781/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/781/events","html_url":"https://github.com/aws/aws-sdk-js/issues/781","id":115563444,"number":781,"title":"Easier access to request ids","user":{"login":"rclark","id":515424,"avatar_url":"https://avatars.githubusercontent.com/u/515424?v=3","gravatar_id":"","url":"https://api.github.com/users/rclark","html_url":"https://github.com/rclark","followers_url":"https://api.github.com/users/rclark/followers","following_url":"https://api.github.com/users/rclark/following{/other_user}","gists_url":"https://api.github.com/users/rclark/gists{/gist_id}","starred_url":"https://api.github.com/users/rclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rclark/subscriptions","organizations_url":"https://api.github.com/users/rclark/orgs","repos_url":"https://api.github.com/users/rclark/repos","events_url":"https://api.github.com/users/rclark/events{/privacy}","received_events_url":"https://api.github.com/users/rclark/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-sdk-js/labels/Enhancement","name":"Enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-11-06T18:42:17Z","updated_at":"2015-11-19T00:12:50Z","closed_at":"2015-11-19T00:10:14Z","body":"Most of the time that I interact with AWS support it involves trying to troubleshoot the cause of failure for particular requests. The support team always wants to know request ids, but these are not trivial to access. \r\n\r\nTwo ways that this could be easier would be:\r\n- if error objects had `x-amz-request-id` and `x-amz-id-2` values attached for the failed request\r\n- if \"logger\" output included these values\r\n\r\nThe first option would be excellent, because then any time that we encountered an error, we would have the fuel for better support interaction, without having to do anything special in our applications or log details for every single SDK request that is made.\r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/comments/157905492","html_url":"https://github.com/aws/aws-sdk-js/issues/781#issuecomment-157905492","issue_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/781","id":157905492,"user":{"login":"yhahn","id":83384,"avatar_url":"https://avatars.githubusercontent.com/u/83384?v=3","gravatar_id":"","url":"https://api.github.com/users/yhahn","html_url":"https://github.com/yhahn","followers_url":"https://api.github.com/users/yhahn/followers","following_url":"https://api.github.com/users/yhahn/following{/other_user}","gists_url":"https://api.github.com/users/yhahn/gists{/gist_id}","starred_url":"https://api.github.com/users/yhahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhahn/subscriptions","organizations_url":"https://api.github.com/users/yhahn/orgs","repos_url":"https://api.github.com/users/yhahn/repos","events_url":"https://api.github.com/users/yhahn/events{/privacy}","received_events_url":"https://api.github.com/users/yhahn/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T00:12:50Z","updated_at":"2015-11-19T00:12:50Z","body":"@chrisradek can we send you donuts?"}}