{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-go/issues/1005","repository_url":"https://api.github.com/repos/aws/aws-sdk-go","labels_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/1005/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/1005/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/1005/events","html_url":"https://github.com/aws/aws-sdk-go/issues/1005","id":195897219,"number":1005,"title":"SerializationError when using Route53 ChangeResourceRecordSets","user":{"login":"alexbrand","id":545723,"avatar_url":"https://avatars.githubusercontent.com/u/545723?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbrand","html_url":"https://github.com/alexbrand","followers_url":"https://api.github.com/users/alexbrand/followers","following_url":"https://api.github.com/users/alexbrand/following{/other_user}","gists_url":"https://api.github.com/users/alexbrand/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbrand/subscriptions","organizations_url":"https://api.github.com/users/alexbrand/orgs","repos_url":"https://api.github.com/users/alexbrand/repos","events_url":"https://api.github.com/users/alexbrand/events{/privacy}","received_events_url":"https://api.github.com/users/alexbrand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-15T19:40:12Z","updated_at":"2016-12-15T21:04:44Z","closed_at":null,"body":"Using version 1.6.3 results in the following error when using ChangeResourceRecordSets:\r\n\r\n```\r\n<*awserr.baseError | 0xc4205ac480>: {\r\n                code: \"SerializationError\",\r\n                message: \"failed to decode query XML error response\",\r\n                errs: [\r\n                    \"expected element type <ErrorResponse> but have <AccessDeniedException>\",\r\n                ],\r\n            }\r\n            SerializationError: failed to decode query XML error response\r\n            caused by: expected element type <ErrorResponse> but have <AccessDeniedException>\r\n```\r\n\r\nThis does not occur with version 1.6.2.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-go/issues/comments/267443580","html_url":"https://github.com/aws/aws-sdk-go/issues/1005#issuecomment-267443580","issue_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/1005","id":267443580,"user":{"login":"jasdel","id":961963,"avatar_url":"https://avatars.githubusercontent.com/u/961963?v=3","gravatar_id":"","url":"https://api.github.com/users/jasdel","html_url":"https://github.com/jasdel","followers_url":"https://api.github.com/users/jasdel/followers","following_url":"https://api.github.com/users/jasdel/following{/other_user}","gists_url":"https://api.github.com/users/jasdel/gists{/gist_id}","starred_url":"https://api.github.com/users/jasdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasdel/subscriptions","organizations_url":"https://api.github.com/users/jasdel/orgs","repos_url":"https://api.github.com/users/jasdel/repos","events_url":"https://api.github.com/users/jasdel/events{/privacy}","received_events_url":"https://api.github.com/users/jasdel/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T21:04:44Z","updated_at":"2016-12-15T21:04:44Z","body":"@alexbrand If you can provide a request Id I can forward that along to the Route53 team to get more insight into the issue.\r\n\r\nA way to get the request ID quickly for this if your code uses the `awserr.Error` type for looking at error codes is to update [325](https://github.com/apprenda/kismatic/blob/master/integration/aws/client.go#L325-L328) of the code you linked to change it to the following. Alternatively, you could just log out the value of `awsReq.RequestID`.\r\n\r\n```go\r\n\tawsReq, resp := api.ChangeResourceRecordSetsRequest(req)\r\n\tif err := awsReq.Send(); err != nil {\r\n\t\tif awsErr, ok := err.(awserr.Error); ok {\r\n\t\t\terr = awserr.NewRequestFailure(awsErr, awsReq.HTTPResponse.StatusCode, awsReq.RequestID)\r\n\t\t}\r\n\t\treturn err\r\n\t}\r\n```\r\n\r\nI'll create a task to expose the request ID for serialization errors."}}
{"actor":{"display_login":"jasdel"}}