Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service Failure when trying to add test flight users #3258

Closed
fastlanebot opened this issue Jan 7, 2016 · 8 comments
Closed

Service Failure when trying to add test flight users #3258

fastlanebot opened this issue Jan 7, 2016 · 8 comments

Comments

@fastlanebot
Copy link

Original issue by @AhmedGharib - Imported from fastlane/pilot#114

when we try to do the following with a test flight admin account

pilot add test1@gmail.com test2@gmail.com

We get this, any ideas what's wrong? iTunes Connect seems to be working fine.

[15:03:07]: Login to iTunes Connect (admin@foo.com)
[15:03:10]: Login successful
[15:03:22]: Could not create tester test1@gmail.com
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.0/lib/spaceship/client.rb:268:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["service_failure"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.0/lib/spaceship/tunes/tunes_client.rb:693:in `testers'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.0/lib/spaceship/tunes/tester.rb:74:in `all'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.0/lib/spaceship/tunes/tester.rb:81:in `find'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/lib/pilot/tester_manager.rb:11:in `add_tester'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/lib/pilot/commands_generator.rb:67:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/lib/pilot/commands_generator.rb:17:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/bin/pilot:6:in `<top (required)>'
from /usr/local/bin/pilot:23:in `load'
from /usr/local/bin/pilot:23:in `<main>'
@fastlanebot
Copy link
Author

@vpolouchkine commented

Are you seeing the same error if you only run pilot add test1@gmail.com?

@fastlanebot
Copy link
Author

@AhmedGharib commented

Yes

[17:23:11]: Could not create tester test1@gmail.com
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.0/lib/spaceship/client.rb:268:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["service_failure"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.0/lib/spaceship/tunes/tunes_client.rb:693:in `testers'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.0/lib/spaceship/tunes/tester.rb:74:in `all'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.0/lib/spaceship/tunes/tester.rb:81:in `find'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/lib/pilot/tester_manager.rb:11:in `add_tester'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/lib/pilot/commands_generator.rb:67:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/lib/pilot/commands_generator.rb:17:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.2.1/bin/pilot:6:in `<top (required)>'
from /usr/local/bin/pilot:23:in `load'
from /usr/local/bin/pilot:23:in `<main>'

@fastlanebot
Copy link
Author

@ohwutup commented

hey @AhmedGharib, would you mind giving this command another shot? i am trying to reproduce this issue on my machine with my dev accounts and am not getting the same errors :/ thanks!!

@fastlanebot
Copy link
Author

@jaleksynas commented

Without 'admin' account, this is related to #85.

@fastlanebot
Copy link
Author

@jaleksynas commented

Opened #125 for handling more that one address at a time.

@fastlanebot
Copy link
Author

@AhmedGharib commented

same error @jaleksynas @ohwutup any plans to make this work with the App Manager role?

@fastlanebot
Copy link
Author

@ohwutup commented

@AhmedGharib - yeah, this is definitely something we will work towards for a release down the line. I am going to close this issue for now but we will reopen as soon as we have a chance to bite this off. if anyone would like to submit a PR and beat us to the punch that would be incredible! 🚀 🐙

@fastlanebot
Copy link
Author

@jaleksynas commented

This is officially a duplicate of #85 as well. I have been trying to get a PR to correct this for a couple weeks. I'll keep at it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant