{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/6010","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/6010/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/6010/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/6010/events","html_url":"https://github.com/fastlane/fastlane/issues/6010","id":175186685,"number":6010,"title":"Deliver fails if status is \"Waiting For Review\"","user":{"login":"iCarambaa","id":7224274,"avatar_url":"https://avatars.githubusercontent.com/u/7224274?v=3","gravatar_id":"","url":"https://api.github.com/users/iCarambaa","html_url":"https://github.com/iCarambaa","followers_url":"https://api.github.com/users/iCarambaa/followers","following_url":"https://api.github.com/users/iCarambaa/following{/other_user}","gists_url":"https://api.github.com/users/iCarambaa/gists{/gist_id}","starred_url":"https://api.github.com/users/iCarambaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iCarambaa/subscriptions","organizations_url":"https://api.github.com/users/iCarambaa/orgs","repos_url":"https://api.github.com/users/iCarambaa/repos","events_url":"https://api.github.com/users/iCarambaa/events{/privacy}","received_events_url":"https://api.github.com/users/iCarambaa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/deliver","name":"deliver","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-06T08:17:46Z","updated_at":"2016-09-22T09:20:58Z","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\nWhen delivering an app that is already \"Waiting For Review\" deliver fails with \"Problem processing review submission\". \r\n\r\nDespite the error message everything is working fine, the old build gets rejected and the newly uploaded is send to review.\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n[00:20:09]: \u001B[32m---------------------\u001B[0m\r\n[00:20:09]: \u001B[32m--- Step: deliver ---\u001B[0m\r\n[00:20:09]: \u001B[32m---------------------\u001B[0m\r\n[00:20:09]: Login to iTunes Connect (x)\r\n[00:20:11]: Login successful\r\n\r\n+----------------------------------------------------+---------------------------------------------+\r\n|                                      \u001B[32mdeliver 1.13.3 Summary\u001B[0m                                      |\r\n+----------------------------------------------------+---------------------------------------------+\r\n| force                                              | true                                        |\r\n| app_icon                                           | icon.png                                    |\r\n| price_tier                                         | 0                                           |\r\n| app_version                                        | 1.2                                         |\r\n| submit_for_review                                  | true                                        |\r\n| automatic_release                                  | true                                        |\r\n| app_review_information.first_name                  | x                                           |\r\n| app_review_information.last_name                   | x                                           |\r\n| app_review_information.phone_number                | +x                                          |\r\n| app_review_information.email_address               | x                                           |\r\n| app_review_information.demo_user                   | admin                                       |\r\n| app_review_information.demo_password               | ********                                    |\r\n| app_review_information.notes                       | ..                                          |\r\n| app_rating_config_path                             | fastlane/rating.json                        |\r\n| screenshots_path                                   | fastlane/screenshots                        |\r\n| submission_information.add_id_info_serves_ads      | true                                        |\r\n| submission_information.add_id_info_limits_tracking | true                                        |\r\n| submission_information.add_id_info_tracks_action   | true                                        |\r\n| submission_information.add_id_info_tracks_install  | true                                        |\r\n| submission_information.add_id_info_uses_idfa       | true                                        |\r\n| ipa                                                | /Users/Shared/Jenkins/workspace/ios-wrap... |\r\n| metadata_path                                      | ./fastlane/metadata                         |\r\n| username                                           | x                                           |\r\n| app_identifier                                     | x                                           |\r\n| skip_binary_upload                                 | false                                       |\r\n| skip_screenshots                                   | false                                       |\r\n| skip_metadata                                      | false                                       |\r\n+----------------------------------------------------+---------------------------------------------+\r\n\r\n[00:20:12]: Making sure the latest version on iTunes Connect matches '1.2' from the ipa file...\r\n[00:20:12]: \u001B[32m'1.2' is the latest version on iTunes Connect\u001B[0m\r\n[00:20:12]: Loading './fastlane/metadata/en-US/description.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/en-US/keywords.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/en-US/release_notes.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/en-US/support_url.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/en-US/marketing_url.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/en-US/name.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/en-US/privacy_url.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/copyright.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/primary_category.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/secondary_category.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/primary_first_sub_category.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/primary_second_sub_category.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/secondary_first_sub_category.txt'...\r\n[00:20:12]: Loading './fastlane/metadata/secondary_second_sub_category.txt'...\r\n[00:20:13]: Activating language en-US...\r\nITC.apps.devReject.message.and.link.waitingForReview.canReject\r\n[00:20:15]: Uploading metadata to iTunes Connect\r\nITC.apps.devReject.message.and.link.waitingForReview.canReject\r\n[00:20:16]: \u001B[32mSuccessfully uploaded initial set of metadata to iTunes Connect\u001B[0m\r\n[00:20:17]: Starting with the upload of screenshots...\r\n[00:20:17]: Uploading 2 screenshots for language en-US\r\n[00:20:17]: Uploading 'fastlane/screenshots/en-US/s1.png'...\r\n[00:20:21]: Uploading 'fastlane/screenshots/en-US/s2.png'...\r\n[00:20:24]: Saving changes\r\nITC.apps.devReject.message.and.link.waitingForReview.canReject\r\n[00:20:26]: \u001B[32mSuccessfully uploaded screenshots to iTunes Connect\u001B[0m\r\n[00:20:27]: \u001B[32mPrice Tier unchanged (tier 0)\u001B[0m\r\n[00:20:29]: Uploading app icon...\r\nITC.apps.devReject.message.and.link.waitingForReview.canReject\r\n[00:20:42]: Uploading binary to iTunes Connect\r\n[00:20:43]: Going to upload updated app to iTunes Connect\r\n[00:20:43]: \u001B[32mThis might take a few minutes. Please don't interrupt the script.\u001B[0m\r\n[00:21:42]: \u001B[32miTunes Transporter successfully finished its job\u001B[0m\r\n[00:21:42]: \u001B[32m------------------------------------------------------------------------------------------------------\u001B[0m\r\n[00:21:42]: \u001B[32mSuccessfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.\u001B[0m\r\n[00:21:42]: \u001B[32m------------------------------------------------------------------------------------------------------\u001B[0m\r\n[00:21:42]: \u001B[32mFinished the upload to iTunes Connect\u001B[0m\r\n[00:21:44]: Selecting the latest build...\r\n[00:21:45]: Waiting iTunes Connect processing for build 1.2 (14)... this might take a while...\r\n[00:22:17]: Waiting iTunes Connect processing for build 1.2 (14)... this might take a while...\r\n[00:22:49]: Waiting iTunes Connect processing for build 1.2 (14)... this might take a while...\r\n[00:23:21]: Waiting iTunes Connect processing for build 1.2 (14)... this might take a while...\r\n[00:23:52]: Waiting iTunes Connect processing for build 1.2 (14)... this might take a while...\r\n[00:24:25]: Waiting iTunes Connect processing for build 1.2 (14)... this might take a while...\r\n[00:24:56]: Waiting iTunes Connect processing for build 1.2 (14)... this might take a while...\r\n[00:25:28]: Waiting iTunes Connect processing for build 1.2 (14)... this might take a while...\r\n[00:26:00]: Waiting iTunes Connect processing for build 1.2 (14)... this might take a while...\r\n[00:26:31]: Selecting build 1.2 (14)...\r\nITC.apps.devReject.message.and.link.waitingForReview.canReject\r\n[00:26:32]: \u001B[32mSuccessfully selected build\u001B[0m\r\n[00:26:32]: Submitting the app for review...\r\n[00:26:36]: Setting 'add_id_info_serves_ads' to 'true'...\r\n[00:26:36]: Setting 'add_id_info_limits_tracking' to 'true'...\r\n[00:26:36]: Setting 'add_id_info_tracks_action' to 'true'...\r\n[00:26:36]: Setting 'add_id_info_tracks_install' to 'true'...\r\n[00:26:36]: Setting 'add_id_info_uses_idfa' to 'true'...\r\n[00:26:38]: \u001B[32m-------------------\u001B[0m\r\n[00:26:38]: \u001B[32m--- Step: slack ---\u001B[0m\r\n[00:26:38]: \u001B[32m-------------------\u001B[0m\r\n[00:26:38]: \u001B[32mSuccessfully sent Slack notification\u001B[0m\r\n[00:26:38]: \u001B[33m\u001B[33mVariable Dump:\u001B[0m\u001B[0m\r\n[00:26:38]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios appstore\", :ORIGINAL_DEFAULT_KEYCHAIN=>\"\\\"/Users/Shared/Jenkins/Library/Keychains/buildserver.keychain\\\"\", :PRODUCE_APPLE_ID=>\"1151110851\", :SIGH_PROFILE_TYPE=>\"app-store\", :LATEST_TESTFLIGHT_BUILD_NUMBER=>13, :BUILD_NUMBER=>\"There does not seem to be a CURRENT_PROJECT_VERSION key set for this project.  Add this key to your target's expert build settings.\", :IPA_OUTPUT_PATH=>\"/Users/Shared/Jenkins/workspace/...\", :DSYM_OUTPUT_PATH=>\"/Users/Shared/Jenkins/workspace/...\", :XCODEBUILD_ARCHIVE=>\"/Users/Shared/Jenkins/workspace/...\"}\r\n[00:26:38]: \u001B[31mProblem processing review submission.\u001B[0m\r\n\r\n+------+-------------------------------------+-------------+\r\n|                     \u001B[32mfastlane summary\u001B[0m                     |\r\n+------+-------------------------------------+-------------+\r\n| Step | Action                              | Time (in s) |\r\n+------+-------------------------------------+-------------+\r\n| 1    | Verifying required fastlane version | 0           |\r\n| 2    | default_platform                    | 0           |\r\n| 3    | update_fastlane                     | 4           |\r\n| 4    | setup_jenkins                       | 0           |\r\n| 5    | produce                             | 6           |\r\n| 6    | match                               | 8           |\r\n| 7    | Switch to ios set_buildnumber lane  | 0           |\r\n| 8    | latest_testflight_build_number      | 7           |\r\n| 9    | increment_build_number              | 1           |\r\n| 10   | gym                                 | 80          |\r\n| 11   | \u001B[31mdeliver\u001B[0m                             | 388         |\r\n| 12   | slack                               | 0           |\r\n+------+-------------------------------------+-------------+\r\n\r\n[00:26:39]: \u001B[31mfastlane finished with errors\u001B[0m\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\n\r\n➡️  \u001B[33mGeneric error: [!] The request could not be completed because: Unexpected Error (I suspect it's due to user error.)\u001B[0m\r\n   https://github.com/fastlane/fastlane/issues/5594 [\u001B[32mclosed\u001B[0m] 8 💬\r\n   2 weeks ago\r\n\r\n➡️  \u001B[33mIssue while submitting to store\u001B[0m\r\n   https://github.com/fastlane/fastlane/issues/1513 [\u001B[32mclosed\u001B[0m] 26 💬\r\n   18 Jul 2016\r\n\r\n➡️  \u001B[33mProblems with \"pilot\" and the new beta version of \"deliver\" \u001B[0m\r\n   https://github.com/fastlane/fastlane/issues/3291 [\u001B[32mclosed\u001B[0m] 9 💬\r\n   08 Mar 2016\r\n\r\n\u001B[31m\r\n[!] The request could not be completed because:\r\n\tProblem processing review submission.\u001B[0m\r\nBuild step 'Execute shell' marked build as failure\r\nRecording test results\r\nFinished: FAILURE\r\n```\r\n\r\n### Configuration Files\r\n\r\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\r\n\r\nFastfile:\r\n```ruby\r\nfastlane_version \"1.99.0\"\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n  before_all do\r\n\t  update_fastlane\r\n      setup_jenkins(..)\r\n    ENV[\"SLACK_URL\"] = \"https://hooks.slack.com/services/x\"\r\n  end\r\n\r\n  desc \"Deploy a new version to the App Store\"\r\n  lane :appstore do\r\n\tproduce(\r\n\t\t\tapp_name: ENV['JENKINS_APPSTORE_NAME'],\r\n\t\t\tlanguage: 'English',\r\n\t\t\tapp_version: ENV['JENKINS_APP_VERSION'],\r\n\t\t\t)\r\n\tmatch(type: \"appstore\",\r\n\t\t   keychain_name: \"buildserver.keychain\") # more information: https://codesigning.guide\r\n\tset_buildnumber #this is a private lane\r\n    gym\r\n    deliver(force: true)\r\n  end\r\nend\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`):\r\nfastlane 1.102.0\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)?\r\nNo\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)?\r\nrbenv, ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/248851750","html_url":"https://github.com/fastlane/fastlane/issues/6010#issuecomment-248851750","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/6010","id":248851750,"user":{"login":"haydus","id":16452124,"avatar_url":"https://avatars.githubusercontent.com/u/16452124?v=3","gravatar_id":"","url":"https://api.github.com/users/haydus","html_url":"https://github.com/haydus","followers_url":"https://api.github.com/users/haydus/followers","following_url":"https://api.github.com/users/haydus/following{/other_user}","gists_url":"https://api.github.com/users/haydus/gists{/gist_id}","starred_url":"https://api.github.com/users/haydus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haydus/subscriptions","organizations_url":"https://api.github.com/users/haydus/orgs","repos_url":"https://api.github.com/users/haydus/repos","events_url":"https://api.github.com/users/haydus/events{/privacy}","received_events_url":"https://api.github.com/users/haydus/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T09:20:57Z","updated_at":"2016-09-22T09:20:57Z","body":"I had the same issue and tried using a different version thinking it would overwrite my existing waiting submission.\r\nThe result, somewhat un-expected, was that my 'Waiting for Review\" version was updated with the new version number, build, screenshots, etc., BUT deliver failed to complete complaining it can't because the status is \"Waiting for Review\".\r\nI think that if your can't re-deliver if status is \"Waiting for Review\", at least there should be an option to opt to reject, otherwise we can't re-deliver until we manually reject the waiting submission in case of a mistaken submission.\r\n\r\n`ITC.apps.devReject.message.and.link.waitingForReview.canReject\r\n[10:01:46]: Successfully uploaded screenshots to iTunes Connect\r\n[10:01:48]: Price Tier unchanged (tier 0)\r\n[10:01:49]: Uploading app icon...\r\nITC.apps.devReject.message.and.link.waitingForReview.canReject\r\n[10:02:05]: Finished the upload to iTunes Connect\r\n[10:02:06]: Selecting the latest build...\r\n[10:02:08]: Selecting build 2.06.05 (2.6.5)...\r\nITC.apps.devReject.message.and.link.waitingForReview.canReject\r\n[10:02:10]: Successfully selected build\r\n[10:02:10]: Submitting the app for review...\r\n[10:02:15]: Setting 'add_id_info_uses_idfa' to 'true'...\r\n[10:02:15]: Setting 'add_id_info_tracks_install' to 'true'...\r\n[10:02:15]: Setting 'add_id_info_limits_tracking' to 'true'...\r\n[10:02:15]: Setting 'export_compliance_uses_encryption' to 'false'...\r\n[10:02:15]: Setting 'content_rights_contains_third_party_content' to 'false'...\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\n\r\n➡️  Deliver fails if status is \"Waiting For Review\"\r\n   https://github.com/fastlane/fastlane/issues/6010 [open] 2 💬\r\n   2 weeks ago\r\n\r\n➡️  Generic error: [!] The request could not be completed because: Unexpected Error (I suspect it's due to user error.)\r\n   https://github.com/fastlane/fastlane/issues/5594 [closed] 8 💬\r\n   4 weeks ago\r\n\r\n➡️  Problems with \"pilot\" and the new beta version of \"deliver\" \r\n   https://github.com/fastlane/fastlane/issues/3291 [closed] 9 💬\r\n   4 hours ago\r\n\r\nand 1 more at: https://github.com/fastlane/fastlane/search?q=The%20request%20could%20not%20be%20completed%20because:%0A%09Problem%20processing%20review%20submission.&type=Issues&utf8=✓\r\n\r\n[!] The request could not be completed because:\r\n\tProblem processing review submission.`\r\n"}}
{"actor":{"display_login":"haydus"}}