{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/5797","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/5797/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/5797/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/5797/events","html_url":"https://github.com/fastlane/fastlane/issues/5797","id":171996251,"number":5797,"title":"Produce fails to create a new app id","user":{"login":"keith","id":283886,"avatar_url":"https://avatars.githubusercontent.com/u/283886?v=3","gravatar_id":"","url":"https://api.github.com/users/keith","html_url":"https://github.com/keith","followers_url":"https://api.github.com/users/keith/followers","following_url":"https://api.github.com/users/keith/following{/other_user}","gists_url":"https://api.github.com/users/keith/gists{/gist_id}","starred_url":"https://api.github.com/users/keith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keith/subscriptions","organizations_url":"https://api.github.com/users/keith/orgs","repos_url":"https://api.github.com/users/keith/repos","events_url":"https://api.github.com/users/keith/events{/privacy}","received_events_url":"https://api.github.com/users/keith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-18T20:43:51Z","updated_at":"2016-08-19T01:48:41Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\n`produce` fails to create a new app id.\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n(Dropbox/otherscripts) % produce create --app_identifier com.lyft.ios.enterprise.debug.siri.ui -u keith@lyft.com --team_id seckret --app_name \"the name\" --skip_itc true --skip_devcenter false\r\n\r\n+----------------+---------------------------------------+\r\n|               Summary for produce 1.2.0                |\r\n+----------------+---------------------------------------+\r\n| app_identifier | com.lyft.ios.enterprise.debug.siri.ui |\r\n| username       | keith@lyft.com                        |\r\n| team_id        | seckret                            |\r\n| app_name       | Development Siri UI                   |\r\n| skip_itc       | true                                  |\r\n| skip_devcenter | false                                 |\r\n| sku            | 1471552898                            |\r\n| language       | English                               |\r\n+----------------+---------------------------------------+\r\n\r\n[13:41:43]: Creating new app 'the name' on the Apple Dev Center\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\n\r\n➡️  crash on ad_hoc provisioning profile delete\r\n   https://github.com/fastlane/fastlane/issues/3427 [closed] 1 💬\r\n   08 Mar 2016\r\n\r\n➡️  crash on ad_hoc provisioning profile delete!\r\n   https://github.com/fastlane/fastlane/issues/3485 [closed] 0 💬\r\n   08 Mar 2016\r\n\r\n/Users/ksmiley/.rubies/ruby-2.3.1/lib/ruby/2.3.0/json/common.rb:156:in `parse': [!] 784: unexpected token at 'Bad Request' (Faraday::ParsingError)\r\n        from /Users/ksmiley/.rubies/ruby-2.3.1/lib/ruby/2.3.0/json/common.rb:156:in `parse'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response/parse_json.rb:11:in `block in <class:ParseJson>'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:48:in `parse'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:39:in `process_response'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:32:in `block in call'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:30:in `call'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/faraday-0.9.2/lib/faraday/connection.rb:177:in `post'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/spaceship-0.31.2/lib/spaceship/client.rb:411:in `block in send_request'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/spaceship-0.31.2/lib/spaceship/client.rb:328:in `with_retry'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/spaceship-0.31.2/lib/spaceship/client.rb:410:in `send_request'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/spaceship-0.31.2/lib/spaceship/client.rb:385:in `request'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/spaceship-0.31.2/lib/spaceship/portal/portal_client.rb:177:in `create_app!'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/spaceship-0.31.2/lib/spaceship/portal/app.rb:97:in `create!'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/produce-1.2.0/lib/produce/developer_center.rb:22:in `create_new_app'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/produce-1.2.0/lib/produce/developer_center.rb:8:in `run'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/produce-1.2.0/lib/produce/manager.rb:7:in `start_producing'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/produce-1.2.0/lib/produce/commands_generator.rb:37:in `block (2 levels) in run'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/fastlane_core-0.50.2/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/produce-1.2.0/lib/produce/commands_generator.rb:127:in `run'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/produce-1.2.0/lib/produce/commands_generator.rb:11:in `start'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/gems/produce-1.2.0/bin/produce:6:in `<top (required)>'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/bin/produce:23:in `load'\r\n        from /Users/ksmiley/.gem/ruby/2.3.1/bin/produce:23:in `<main>'\r\n\r\n```\r\n\r\n### Environment\r\n\r\n```\r\n% produce -v\r\nproduce 1.2.0\r\n```\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)? No\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? No/chruby\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/240906714","html_url":"https://github.com/fastlane/fastlane/issues/5797#issuecomment-240906714","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/5797","id":240906714,"user":{"login":"sungolo","id":9273335,"avatar_url":"https://avatars.githubusercontent.com/u/9273335?v=3","gravatar_id":"","url":"https://api.github.com/users/sungolo","html_url":"https://github.com/sungolo","followers_url":"https://api.github.com/users/sungolo/followers","following_url":"https://api.github.com/users/sungolo/following{/other_user}","gists_url":"https://api.github.com/users/sungolo/gists{/gist_id}","starred_url":"https://api.github.com/users/sungolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sungolo/subscriptions","organizations_url":"https://api.github.com/users/sungolo/orgs","repos_url":"https://api.github.com/users/sungolo/repos","events_url":"https://api.github.com/users/sungolo/events{/privacy}","received_events_url":"https://api.github.com/users/sungolo/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T01:48:40Z","updated_at":"2016-08-19T01:48:40Z","body":"`\r\n+----------------+------------------------------+\r\n|           Summary for produce 1.2.0           |\r\n+----------------+------------------------------+\r\n| username       | xxxxxxxxxx                   |\r\n| app_identifier | com.olo.testoloautomation    |\r\n| app_name       | TestOloAutomation - Ordering |\r\n| app_version    | 1.0                          |\r\n| sku            | testoloautomation            |\r\n| language       | English                      |\r\n| skip_itc       | false                        |\r\n| skip_devcenter | false                        |\r\n| team_id        | xxxxxxxxxx                   |\r\n| team_name      | xxxxxxxxxx                   |\r\n+----------------+------------------------------+\r\n\r\n[21:44:31]: Creating new app 'TestOloAutomation  Ordering' on the Apple Dev Center\r\n[21:44:31]: Variable Dump:\r\n[21:44:31]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios start\", :CERT_FILE_PATH=>\"xxxxxxxxxx\", :CERT_CERTIFICATE_ID=>\"xxxxxxxxxx\"}\r\n[21:44:31]: 757: unexpected token at 'Bad Request'\r\n\r\n+------+-------------------------------+-------------+\r\n|                  fastlane summary                  |\r\n+------+-------------------------------+-------------+\r\n| Step | Action                        | Time (in s) |\r\n+------+-------------------------------+-------------+\r\n| 1    | default_platform              | 0           |\r\n| 2    | Switch to ios createcert lane | 0           |\r\n| 3    | cert                          | 4           |\r\n| 4    | Switch to ios createapp lane  | 0           |\r\n| 5    | produce                       | 2           |\r\n+------+-------------------------------+-------------+\r\n\r\n[21:44:31]: fastlane finished with errors\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\n\r\n➡️  Bad Request - portal_client.rb - associate_groups_with_app\r\n   https://github.com/fastlane/fastlane/issues/2049 [open] 0 💬\r\n   07 Mar 2016\r\n\r\n➡️  Produce not creating new applications anymore\r\n   https://github.com/fastlane/fastlane/issues/5799 [open] 5 💬\r\n   an hour ago\r\n\r\n➡️  757: unexpected token at 'HTTP 400 Bad Request'\r\n   https://github.com/fastlane/fastlane/issues/2947 [closed] 4 💬\r\n   08 Mar 2016\r\n\r\nand 18 more at: https://github.com/fastlane/fastlane/search?q=757:%20unexpected%20token%20at%20'Bad%20Request'&type=Issues&utf8=✓\r\n/Library/Ruby/Gems/2.0.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse': [!] 757: unexpected token at 'Bad Request' (Faraday::ParsingError)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response/parse_json.rb:11:in `block in <class:ParseJson>'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:48:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:48:in `parse'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:39:in `process_response'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:32:in `block in call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:30:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/faraday-0.9.2/lib/faraday/connection.rb:177:in `post'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.31.3/lib/spaceship/client.rb:411:in `block in send_request'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.31.3/lib/spaceship/client.rb:328:in `with_retry'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.31.3/lib/spaceship/client.rb:410:in `send_request'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.31.3/lib/spaceship/client.rb:385:in `request'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.31.3/lib/spaceship/portal/portal_client.rb:175:in `create_app!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.31.3/lib/spaceship/portal/app.rb:97:in `create!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/produce-1.2.0/lib/produce/developer_center.rb:22:in `create_new_app'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/produce-1.2.0/lib/produce/developer_center.rb:8:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/produce-1.2.0/lib/produce/manager.rb:7:in `start_producing'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/actions/produce.rb:19:in `block in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/actions/produce.rb:17:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/actions/produce.rb:17:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:190:in `block (2 levels) in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:175:in `block in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:174:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:174:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:100:in `trigger_action_by_name'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/fast_file.rb:140:in `method_missing'\r\n\tfrom ../fastlane/Fastfile:48:in `block (2 levels) in parsing_binding'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/lane.rb:33:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/lane.rb:33:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:153:in `try_switch_to_lane'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:108:in `trigger_action_by_name'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/fast_file.rb:140:in `method_missing'\r\n\tfrom ../fastlane/Fastfile:34:in `block (2 levels) in parsing_binding'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/lane.rb:33:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/lane.rb:33:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:49:in `block in execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:45:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:45:in `execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/command_line_handler.rb:30:in `handle'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.50.2/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/commands_generator.rb:246:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/commands_generator.rb:20:in `start'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.101.0/bin/fastlane:5:in `<top (required)>'\r\n\tfrom /usr/local/bin/fastlane:23:in `load'\r\n\tfrom /usr/local/bin/fastlane:23:in `<main>'`"}}
{"actor":{"display_login":"sungolo"}}