{"action":"created","issue":{"url":"https://api.github.com/repos/msimerson/NicTool/issues/215","repository_url":"https://api.github.com/repos/msimerson/NicTool","labels_url":"https://api.github.com/repos/msimerson/NicTool/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/msimerson/NicTool/issues/215/comments","events_url":"https://api.github.com/repos/msimerson/NicTool/issues/215/events","html_url":"https://github.com/msimerson/NicTool/issues/215","id":340242316,"node_id":"MDU6SXNzdWUzNDAyNDIzMTY=","number":215,"title":"XML-RPC","user":{"login":"janvernieuwe","id":7813447,"node_id":"MDQ6VXNlcjc4MTM0NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7813447?v=4","gravatar_id":"","url":"https://api.github.com/users/janvernieuwe","html_url":"https://github.com/janvernieuwe","followers_url":"https://api.github.com/users/janvernieuwe/followers","following_url":"https://api.github.com/users/janvernieuwe/following{/other_user}","gists_url":"https://api.github.com/users/janvernieuwe/gists{/gist_id}","starred_url":"https://api.github.com/users/janvernieuwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janvernieuwe/subscriptions","organizations_url":"https://api.github.com/users/janvernieuwe/orgs","repos_url":"https://api.github.com/users/janvernieuwe/repos","events_url":"https://api.github.com/users/janvernieuwe/events{/privacy}","received_events_url":"https://api.github.com/users/janvernieuwe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-11T13:28:56Z","updated_at":"2018-07-17T08:12:38Z","closed_at":null,"author_association":"NONE","body":"### NicTool version\r\n?\r\n### perl version\r\n2.0\r\n### OS version\r\nCentOS\r\n### Expected behavior\r\nget record\r\n### Observed behavior\r\nerror\r\n### Steps to reproduce\r\n\r\nHi, i'm trying to use xml-rpc to get a zone record.\r\nThis is the xml im sending (the session is redacted, but obtained from a successful login)\r\n*REQUEST*\r\n```\r\n<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\r\n<methodCall>\r\n    <methodName>get_zone_record</methodName>\r\n    <params>\r\n        <param>\r\n            <value>\r\n                <struct>\r\n                    <member>\r\n                        <name>nt_zone_record_id</name>\r\n                        <value>\r\n                            <string>52280</string>\r\n                        </value>\r\n                    </member>\r\n                    <member>\r\n                        <name>nt_user_session</name>\r\n                        <value>\r\n                            <string>REDACTED</string>\r\n                        </value>\r\n                    </member>\r\n                </struct>\r\n            </value>\r\n        </param>\r\n    </params>\r\n</methodCall>\r\n```\r\n*RESPONSE*\r\n```\r\n<?xml version=\"1.0\" encoding=\"us-ascii\"?>\r\n<methodResponse>\r\n    <params>\r\n        <param>\r\n            <value>\r\n                <struct>\r\n                    <member>\r\n                        <name>error_msg</name>\r\n                        <value>\r\n                            <string>GET_ZONE_RECORD</string>\r\n                        </value>\r\n                    </member>\r\n                    <member>\r\n                        <name>error_code</name>\r\n                        <value>\r\n                            <int>500</int>\r\n                        </value>\r\n                    </member>\r\n                    <member>\r\n                        <name>error_desc</name>\r\n                        <value>\r\n                            <string>Request for unknown action</string>\r\n                        </value>\r\n                    </member>\r\n                </struct>\r\n            </value>\r\n        </param>\r\n    </params>\r\n</methodResponse>\r\n```\r\nI don't know perl, but is this perhaps because of the different casing beween the uppercased string and the keys in the object?\r\n\r\nOr am I doing something else wrong?\r\n\r\nRegards & thanks in advance!"},"comment":{"url":"https://api.github.com/repos/msimerson/NicTool/issues/comments/405498203","html_url":"https://github.com/msimerson/NicTool/issues/215#issuecomment-405498203","issue_url":"https://api.github.com/repos/msimerson/NicTool/issues/215","id":405498203,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTQ5ODIwMw==","user":{"login":"janvernieuwe","id":7813447,"node_id":"MDQ6VXNlcjc4MTM0NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7813447?v=4","gravatar_id":"","url":"https://api.github.com/users/janvernieuwe","html_url":"https://github.com/janvernieuwe","followers_url":"https://api.github.com/users/janvernieuwe/followers","following_url":"https://api.github.com/users/janvernieuwe/following{/other_user}","gists_url":"https://api.github.com/users/janvernieuwe/gists{/gist_id}","starred_url":"https://api.github.com/users/janvernieuwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janvernieuwe/subscriptions","organizations_url":"https://api.github.com/users/janvernieuwe/orgs","repos_url":"https://api.github.com/users/janvernieuwe/repos","events_url":"https://api.github.com/users/janvernieuwe/events{/privacy}","received_events_url":"https://api.github.com/users/janvernieuwe/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T08:12:38Z","updated_at":"2018-07-17T08:12:38Z","author_association":"NONE","body":"I'm going to see if there is anything useful in those logs.\r\nBut this error is one that the nictool itself throws.\r\n\r\nThanks for taking the time!"}}
{"actor":{"display_login":"janvernieuwe"}}