{"action":"opened","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/4899","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/4899/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/4899/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/4899/events","html_url":"https://github.com/fastlane/fastlane/issues/4899","id":157387204,"number":4899,"title":"Deliver fails with `Forbidden` error","user":{"login":"gapl","id":16098948,"avatar_url":"https://avatars.githubusercontent.com/u/16098948?v=3","gravatar_id":"","url":"https://api.github.com/users/gapl","html_url":"https://github.com/gapl","followers_url":"https://api.github.com/users/gapl/followers","following_url":"https://api.github.com/users/gapl/following{/other_user}","gists_url":"https://api.github.com/users/gapl/gists{/gist_id}","starred_url":"https://api.github.com/users/gapl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gapl/subscriptions","organizations_url":"https://api.github.com/users/gapl/orgs","repos_url":"https://api.github.com/users/gapl/repos","events_url":"https://api.github.com/users/gapl/events{/privacy}","received_events_url":"https://api.github.com/users/gapl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-29T13:50:47Z","updated_at":"2016-05-29T13:50:47Z","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]\r\n\r\n### Issue Description\r\n\r\nWhen running deliver to deliver only an ipa file to iTC, fastlane exits with `Forbidden` error.\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\nInput: `fastlane app_store version_number:\"2.1.0\" --verbose`\r\n\r\n```\r\nDEBUG [2016-05-29 15:44:03.08]: Using version_number: 2.1.0\r\nINFO [2016-05-29 15:44:03.09]: ------------------------------\r\nINFO [2016-05-29 15:44:03.09]: --- Step: default_platform ---\r\nINFO [2016-05-29 15:44:03.09]: ------------------------------\r\nINFO [2016-05-29 15:44:03.12]: Driving the lane 'ios app_store' 🚀\r\nINFO [2016-05-29 15:44:03.13]: -----------------------\r\nINFO [2016-05-29 15:44:03.13]: --- Step: skip_docs ---\r\nINFO [2016-05-29 15:44:03.13]: -----------------------\r\nINFO [2016-05-29 15:44:03.13]: ---------------------\r\nINFO [2016-05-29 15:44:03.13]: --- Step: deliver ---\r\nINFO [2016-05-29 15:44:03.13]: ---------------------\r\nINFO [2016-05-29 15:44:03.34]: Login to iTunes Connect (xxxxx@xxx.com)\r\nINFO [2016-05-29 15:44:05.84]: Login successful\r\n\r\n+--------------------+-------------------------------------+\r\n|                  deliver 1.12.0 Summary                  |\r\n+--------------------+-------------------------------------+\r\n| app_identifier     | com.xxxx.xxxx           |\r\n| username           | xxxxx@xxx.com |\r\n| ipa                | result.ipa                          |\r\n| force              | true                                |\r\n| automatic_release  | false                               |\r\n| submit_for_review  | false                               |\r\n| skip_metadata      | true                                |\r\n| skip_screenshots   | true                                |\r\n| screenshots_path   | ./fastlane/screenshots              |\r\n| metadata_path      | ./fastlane/metadata                 |\r\n| app_version        | 2.1.0                               |\r\n| skip_binary_upload | false                               |\r\n+--------------------+-------------------------------------+\r\n\r\nINFO [2016-05-29 15:44:06.60]: Making sure the latest version on iTunes Connect matches '2.1.0' from the ipa file...\r\nINFO [2016-05-29 15:44:07.90]: '2.1.0' is the latest version on iTunes Connect\r\nWARN [2016-05-29 15:44:15.16]: Variable Dump:\r\nINFO [2016-05-29 15:44:15.16]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios app_store\"}\r\nERROR [2016-05-29 15:44:15.16]: Forbidden\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    | skip_docs        | 0           |\r\n| 3    | deliver          | 12          |\r\n+------+------------------+-------------+\r\n\r\nERROR [2016-05-29 15:44:15.17]: fastlane finished with errors\r\n/Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.1/lib/spaceship/tunes/tunes_client.rb:174:in `handle_itc_response': [!] The request could not be completed because: (Spaceship::TunesClient::ITunesConnectError)\r\n\tForbidden\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.1/lib/spaceship/tunes/tunes_client.rb:313:in `block in update_app_version!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.1/lib/spaceship/tunes/tunes_client.rb:864:in `with_tunes_retry'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.1/lib/spaceship/tunes/tunes_client.rb:306:in `update_app_version!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.1/lib/spaceship/tunes/app_version.rb:285:in `save!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-1.12.0/lib/deliver/upload_assets.rb:19:in `upload'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-1.12.0/lib/deliver/runner.rb:61:in `upload_metadata'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-1.12.0/lib/deliver/runner.rb:21:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/actions/deliver.rb:18:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/runner.rb:177:in `block (2 levels) in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/runner.rb:162:in `block in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/runner.rb:161:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/runner.rb:161:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/runner.rb:109:in `trigger_action_by_name'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/fast_file.rb:140:in `method_missing'\r\n\tfrom Fastfile:220:in `block (2 levels) in parsing_binding'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/lane.rb:33:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/lane.rb:33:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/runner.rb:50:in `block in execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/runner.rb:46:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/runner.rb:46:in `execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/command_line_handler.rb:30:in `handle'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/commands_generator.rb:42: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/fastlane_core-0.45.0/lib/fastlane_core/ui/fastlane_runner.rb:26: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.91.0/lib/fastlane/commands_generator.rb:175:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/commands_generator.rb:13:in `start'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.0/lib/fastlane/cli_tools_distributor.rb:47:in `take_off'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.91.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>'\r\n```\r\n\r\n### Configuration Files\r\n\r\nFastfile:\r\n```ruby\r\nlane :app_store do |options|\r\n    deliver(\r\n      app_version: options[:version_number],\r\n      app_identifier: \"com.xxxx.xxxx\",\r\n      username: \"xxxxx@xxx.com\",\r\n      ipa: \"result.ipa\",\r\n      force: true,\r\n      automatic_release: false,\r\n      submit_for_review: false,\r\n      skip_metadata: true,\r\n      skip_screenshots: true\r\n    )\r\nend\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version: `fastlane 1.91.0`"}}
{"actor":{"display_login":"gapl"}}