{"action":"created","issue":{"url":"https://api.github.com/repos/BitMEX/api-connectors/issues/169","repository_url":"https://api.github.com/repos/BitMEX/api-connectors","labels_url":"https://api.github.com/repos/BitMEX/api-connectors/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/BitMEX/api-connectors/issues/169/comments","events_url":"https://api.github.com/repos/BitMEX/api-connectors/issues/169/events","html_url":"https://github.com/BitMEX/api-connectors/issues/169","id":337233374,"node_id":"MDU6SXNzdWUzMzcyMzMzNzQ=","number":169,"title":"Delta Server order error ","user":{"login":"sunnyp95","id":28358176,"node_id":"MDQ6VXNlcjI4MzU4MTc2","avatar_url":"https://avatars3.githubusercontent.com/u/28358176?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnyp95","html_url":"https://github.com/sunnyp95","followers_url":"https://api.github.com/users/sunnyp95/followers","following_url":"https://api.github.com/users/sunnyp95/following{/other_user}","gists_url":"https://api.github.com/users/sunnyp95/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyp95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyp95/subscriptions","organizations_url":"https://api.github.com/users/sunnyp95/orgs","repos_url":"https://api.github.com/users/sunnyp95/repos","events_url":"https://api.github.com/users/sunnyp95/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyp95/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-30T18:17:54Z","updated_at":"2018-06-30T22:41:17Z","closed_at":"2018-06-30T22:41:17Z","author_association":"NONE","body":"I am trying to get my order information via the delta server but I keep getting the following error:\r\n```\r\nTypeError: Cannot read property 'XBTUSD' of undefined\r\n    at BitMEXClient.getData (C:\\Users\\sunny\\api-connectors\\official-ws\\nodejs\\index.js:84:32)\r\n    at C:\\Users\\sunny\\api-connectors\\official-ws\\delta-server\\lib\\server.js:76:21\r\n    at Layer.handle [as handle_request] (C:\\Users\\sunny\\api-connectors\\official-ws\\delta-server\\node_modules\\express\\lib\\router\\layer.js:95:5)\r\n    at next (C:\\Users\\sunny\\api-connectors\\official-ws\\delta-server\\node_modules\\express\\lib\\router\\route.js:137:13)\r\n    at Route.dispatch (C:\\Users\\sunny\\api-connectors\\official-ws\\delta-server\\node_modules\\express\\lib\\router\\route.js:112:3)\r\n    at Layer.handle [as handle_request] (C:\\Users\\sunny\\api-connectors\\official-ws\\delta-server\\node_modules\\express\\lib\\router\\layer.js:95:5)\r\n    at C:\\Users\\sunny\\api-connectors\\official-ws\\delta-server\\node_modules\\express\\lib\\router\\index.js:281:22\r\n    at param (C:\\Users\\sunny\\api-connectors\\official-ws\\delta-server\\node_modules\\express\\lib\\router\\index.js:354:14)\r\n    at param (C:\\Users\\sunny\\api-connectors\\official-ws\\delta-server\\node_modules\\express\\lib\\router\\index.js:365:14)\r\n    at Function.process_params (C:\\Users\\sunny\\api-connectors\\official-ws\\delta-server\\node_modules\\express\\lib\\router\\index.js:410:3)\r\n```\r\nI can connect to the delta server and get other public and private data such as 'position'. The same error also comes up for the 'execution' data. "},"comment":{"url":"https://api.github.com/repos/BitMEX/api-connectors/issues/comments/401570703","html_url":"https://github.com/BitMEX/api-connectors/issues/169#issuecomment-401570703","issue_url":"https://api.github.com/repos/BitMEX/api-connectors/issues/169","id":401570703,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTU3MDcwMw==","user":{"login":"sunnyp95","id":28358176,"node_id":"MDQ6VXNlcjI4MzU4MTc2","avatar_url":"https://avatars3.githubusercontent.com/u/28358176?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnyp95","html_url":"https://github.com/sunnyp95","followers_url":"https://api.github.com/users/sunnyp95/followers","following_url":"https://api.github.com/users/sunnyp95/following{/other_user}","gists_url":"https://api.github.com/users/sunnyp95/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyp95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyp95/subscriptions","organizations_url":"https://api.github.com/users/sunnyp95/orgs","repos_url":"https://api.github.com/users/sunnyp95/repos","events_url":"https://api.github.com/users/sunnyp95/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyp95/received_events","type":"User","site_admin":false},"created_at":"2018-06-30T22:41:17Z","updated_at":"2018-06-30T22:41:17Z","author_association":"NONE","body":"So the error is caused by the server sending empty arrays. There is already an issue open for this, so I am closing this. "}}
{"actor":{"display_login":"sunnyp95"}}