{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-cli/issues/149","repository_url":"https://api.github.com/repos/Microsoft/vsts-cli","labels_url":"https://api.github.com/repos/Microsoft/vsts-cli/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-cli/issues/149/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-cli/issues/149/events","html_url":"https://github.com/Microsoft/vsts-cli/issues/149","id":314950186,"number":149,"title":"running any command gives API resource location not registered error on TFS 2017","user":{"login":"arthis","id":1129668,"avatar_url":"https://avatars2.githubusercontent.com/u/1129668?v=4","gravatar_id":"","url":"https://api.github.com/users/arthis","html_url":"https://github.com/arthis","followers_url":"https://api.github.com/users/arthis/followers","following_url":"https://api.github.com/users/arthis/following{/other_user}","gists_url":"https://api.github.com/users/arthis/gists{/gist_id}","starred_url":"https://api.github.com/users/arthis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthis/subscriptions","organizations_url":"https://api.github.com/users/arthis/orgs","repos_url":"https://api.github.com/users/arthis/repos","events_url":"https://api.github.com/users/arthis/events{/privacy}","received_events_url":"https://api.github.com/users/arthis/received_events","type":"User","site_admin":false},"labels":[{"id":753588697,"url":"https://api.github.com/repos/Microsoft/vsts-cli/labels/investigating","name":"investigating","color":"fcec41","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-17T08:10:48Z","updated_at":"2018-04-20T14:28:26Z","closed_at":null,"author_association":"NONE","body":"Hi \r\n\r\nwhenever I try to run any command through vsts cli in my commandline ,\r\n\r\n ```\r\nvsts code pr list --project myProject --instance https://mytfsServerInstance/DefaultCollection\r\nvsts work item create --type bug --title \"Typo in docs\" --project myProject --instance https://mytfsServerInstance/DefaultCollection\r\n```\r\n\r\n I receive the following error  :\r\n\r\n`API resource location 'some-guid'  is not registered on  'https://mytfsServer/DefaultCollection'`\r\n\r\nI am using the following tfs server : Version 15.112.26307.0 , Update 1\r\n\r\nthe version of the cli is  :\r\n\r\n```\r\n vsts --version\r\nvsts-cli (0.1.0b1)\r\n\r\nknack (0.2.0)\r\nvsts (0.1.0b1.dev4413677)\r\nvsts-cli-build (0.1.0b1)\r\nvsts-cli-build-common (0.1.0b1)\r\nvsts-cli-code (0.1.0b1)\r\nvsts-cli-code-common (0.1.0b1)\r\nvsts-cli-common (0.1.0b1)\r\nvsts-cli-team (0.1.0b1)\r\nvsts-cli-team-common (0.1.0b1)\r\nvsts-cli-work (0.1.0b1)\r\nvsts-cli-work-common (0.1.0b1)\r\n\r\nPython (Windows) 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)]\r\n\r\nPython location: C:\\Program Files (x86)\\Microsoft SDKs\\VSTS\\CLI\\python.exe\r\n\r\nLegal docs and information: https://aka.ms/vsts-cli-eula\r\n```\r\n\r\nThanks "},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-cli/issues/comments/383114074","html_url":"https://github.com/Microsoft/vsts-cli/issues/149#issuecomment-383114074","issue_url":"https://api.github.com/repos/Microsoft/vsts-cli/issues/149","id":383114074,"user":{"login":"tedchamb","id":13457072,"avatar_url":"https://avatars2.githubusercontent.com/u/13457072?v=4","gravatar_id":"","url":"https://api.github.com/users/tedchamb","html_url":"https://github.com/tedchamb","followers_url":"https://api.github.com/users/tedchamb/followers","following_url":"https://api.github.com/users/tedchamb/following{/other_user}","gists_url":"https://api.github.com/users/tedchamb/gists{/gist_id}","starred_url":"https://api.github.com/users/tedchamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedchamb/subscriptions","organizations_url":"https://api.github.com/users/tedchamb/orgs","repos_url":"https://api.github.com/users/tedchamb/repos","events_url":"https://api.github.com/users/tedchamb/events{/privacy}","received_events_url":"https://api.github.com/users/tedchamb/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T14:28:25Z","updated_at":"2018-04-20T14:28:25Z","author_association":"MEMBER","body":"Thanks for sending the details..  What version of TFS 2017 are you targeting?  Can you try deleting the cache for the vsts python sdk, and then running the command again with the --debug option? To do this, you can delete this folder: `C:\\Users\\xxxxx.vsts\\python-sdk\\cache`  This will force the cli to fetch the location data again from the server.  Be careful not to post any private data when posting the debug results, or you can send it to me directly.\r\n\r\n"}}
{"actor":{"display_login":"tedchamb"}}