{"action":"created","issue":{"url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/64","repository_url":"https://api.github.com/repos/ibm-watson-iot/iot-java","labels_url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/64/comments","events_url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/64/events","html_url":"https://github.com/ibm-watson-iot/iot-java/issues/64","id":177549804,"number":64,"title":"Correct exception message for error code 403","user":{"login":"miketran78727","id":11527566,"avatar_url":"https://avatars.githubusercontent.com/u/11527566?v=3","gravatar_id":"","url":"https://api.github.com/users/miketran78727","html_url":"https://github.com/miketran78727","followers_url":"https://api.github.com/users/miketran78727/followers","following_url":"https://api.github.com/users/miketran78727/following{/other_user}","gists_url":"https://api.github.com/users/miketran78727/gists{/gist_id}","starred_url":"https://api.github.com/users/miketran78727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketran78727/subscriptions","organizations_url":"https://api.github.com/users/miketran78727/orgs","repos_url":"https://api.github.com/users/miketran78727/repos","events_url":"https://api.github.com/users/miketran78727/events{/privacy}","received_events_url":"https://api.github.com/users/miketran78727/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-17T02:01:25Z","updated_at":"2017-02-27T14:18:28Z","closed_at":null,"body":"In jMeter test automation, I encountered a failure where error codes 400 and 403 were returned for DM request.  403 means that pending active DM request is in progress for one or more devices. 400 means incorrect request format.\n\nCurrently, 400 and 403 are mapped to Unexpected error:\n\n2016/09/16 20:54:06 ERROR - com.ibm.iotf.load.test.dm.GatewayDeviceActions: initiateAction Thread 10: failed to initiate device action firmware/download HTTP error code: 403 Reason: Unexpected error code\n\n2016/09/16 21:35:12 ERROR - com.ibm.iotf.load.test.dm.GatewayDeviceActions: initiateAction Thread 5: failed to initiate device action device/factory_reset HTTP error code: 400 Reason: Unexpected error code Response: null \n"},"comment":{"url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/comments/282732765","html_url":"https://github.com/ibm-watson-iot/iot-java/issues/64#issuecomment-282732765","issue_url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/64","id":282732765,"user":{"login":"miketran78727","id":11527566,"avatar_url":"https://avatars.githubusercontent.com/u/11527566?v=3","gravatar_id":"","url":"https://api.github.com/users/miketran78727","html_url":"https://github.com/miketran78727","followers_url":"https://api.github.com/users/miketran78727/followers","following_url":"https://api.github.com/users/miketran78727/following{/other_user}","gists_url":"https://api.github.com/users/miketran78727/gists{/gist_id}","starred_url":"https://api.github.com/users/miketran78727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketran78727/subscriptions","organizations_url":"https://api.github.com/users/miketran78727/orgs","repos_url":"https://api.github.com/users/miketran78727/repos","events_url":"https://api.github.com/users/miketran78727/events{/privacy}","received_events_url":"https://api.github.com/users/miketran78727/received_events","type":"User","site_admin":false},"created_at":"2017-02-27T14:18:28Z","updated_at":"2017-02-27T14:18:28Z","body":"@sathipal Could you please merge the pull request that fixes this issue?  Thanks."}}
{"actor":{"display_login":"miketran78727"}}