{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/spaceship/issues/226","labels_url":"https://api.github.com/repos/fastlane/spaceship/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/spaceship/issues/226/comments","events_url":"https://api.github.com/repos/fastlane/spaceship/issues/226/events","html_url":"https://github.com/fastlane/spaceship/issues/226","id":128837957,"number":226,"title":"iOS Enterprise only account not working","user":{"login":"tiefox","id":4186,"avatar_url":"https://avatars.githubusercontent.com/u/4186?v=3","gravatar_id":"","url":"https://api.github.com/users/tiefox","html_url":"https://github.com/tiefox","followers_url":"https://api.github.com/users/tiefox/followers","following_url":"https://api.github.com/users/tiefox/following{/other_user}","gists_url":"https://api.github.com/users/tiefox/gists{/gist_id}","starred_url":"https://api.github.com/users/tiefox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiefox/subscriptions","organizations_url":"https://api.github.com/users/tiefox/orgs","repos_url":"https://api.github.com/users/tiefox/repos","events_url":"https://api.github.com/users/tiefox/events{/privacy}","received_events_url":"https://api.github.com/users/tiefox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-26T14:33:12Z","updated_at":"2016-01-27T08:01:10Z","closed_at":null,"body":"Hi. I have an iOS Enterprise only account and having an issue setting up a new project with the latest version of Fastlane. Some previous versions ago it was working fine.\r\n\r\nspaceship is failing when accessing \r\nhttps://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/user/detail\r\n\r\nFor me it returns if I try to access this URL directly in my browser:\r\n{\"data\":null,\"messages\":{\"warn\":null,\"error\":[\"Unauthorized access\"],\"info\":null},\"statusCode\":\"ERROR\"}\r\n\r\nThis is the error I get on the console:\r\nLibrary/Ruby/Gems/2.0.0/gems/spaceship-0.19.3/lib/spaceship/client.rb:268:in `parse_response': {\"data\"=>nil, \"messages\"=>{\"warn\"=>nil, \"error\"=>[\"Unauthorized access\"], \"info\"=>nil}, \"statusCode\"=>\"ERROR\"} (Spaceship::Client::UnexpectedResponse)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.3/lib/spaceship/tunes/tunes_client.rb:45:in `teams'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.3/lib/spaceship/tunes/tunes_client.rb:83:in `select_team'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.3/lib/spaceship/tunes/spaceship.rb:30:in `select_team'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.53.0/lib/fastlane/setup/setup_ios.rb:134:in `detect_if_app_is_available'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.53.0/lib/fastlane/setup/setup_ios.rb:29:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.53.0/lib/fastlane/setup/setup.rb:19:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.53.0/bin/fastlane:40:in `block (2 levels) in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.53.0/bin/fastlane:149:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.53.0/bin/fastlane:155:in `<top (required)>'\r\n\tfrom /usr/local/bin/fastlane:23:in `load'\r\n\tfrom /usr/local/bin/fastlane:23:in `<main>'\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/spaceship/issues/comments/175471290","html_url":"https://github.com/fastlane/spaceship/issues/226#issuecomment-175471290","issue_url":"https://api.github.com/repos/fastlane/spaceship/issues/226","id":175471290,"user":{"login":"marmoy","id":1533631,"avatar_url":"https://avatars.githubusercontent.com/u/1533631?v=3","gravatar_id":"","url":"https://api.github.com/users/marmoy","html_url":"https://github.com/marmoy","followers_url":"https://api.github.com/users/marmoy/followers","following_url":"https://api.github.com/users/marmoy/following{/other_user}","gists_url":"https://api.github.com/users/marmoy/gists{/gist_id}","starred_url":"https://api.github.com/users/marmoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmoy/subscriptions","organizations_url":"https://api.github.com/users/marmoy/orgs","repos_url":"https://api.github.com/users/marmoy/repos","events_url":"https://api.github.com/users/marmoy/events{/privacy}","received_events_url":"https://api.github.com/users/marmoy/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T08:01:10Z","updated_at":"2016-01-27T08:01:10Z","body":"I am having this issue as well. The problem has been introduced between fastlane version 1.50.0 where the issue does not exist and 1.53.0 where the issue exists.\r\n\r\nSince Apple Developer Enterprise Program's don't need/use iTunes connect, could it be that the returned 'Unauthorized access' is expected behaviour in these scenarios, and that spaceship should handle that?"}}