microsoft / app-store-vsts-extension

Visual Studio Team Services (VSTS) extension for performing continuous delivery to the App Store store from your automated CI builds
Other
95 stars 53 forks source link

Error with authentication credentials are missing or invalid. #223

Closed ViniciusTei closed 3 years ago

ViniciusTei commented 3 years ago

Type: Question

Enter Task Name: Apple App Store Release

Environment

Issue Description

After some time, my Release pipeline started to show this error. I have done all the steps described on the past issues. Me and my team couldnt find a solution for this errors, even with all of our tokens correct. Can I find some help?

Task logs

2021-03-11T16:48:47.0033900Z [command]/usr/local/opt/ruby@2.7/bin/gem install fastlane
2021-03-11T16:49:12.6490990Z Successfully installed fastlane-2.177.0
2021-03-11T16:49:12.6492930Z Parsing documentation for fastlane-2.177.0
2021-03-11T16:49:12.6494510Z Installing ri documentation for fastlane-2.177.0
2021-03-11T16:49:12.6495260Z Done installing documentation for fastlane after 21 seconds
2021-03-11T16:49:12.6496680Z 1 gem installed
2021-03-11T16:49:12.6818930Z [command]/usr/local/opt/ruby@2.7/bin/gem update fastlane -i /Users/runner/.gem-cache
2021-03-11T16:49:15.4897850Z Updating installed gems
2021-03-11T16:49:15.4898690Z Nothing to update
2021-03-11T16:49:15.5156460Z [command]/usr/local/lib/ruby/gems/2.7.0/bin/fastlane pilot upload --api_key_path /Users/runner/work/_temp/api_keyT298SRSYV7.json -i /Users/runner/work/r1/a/_OneApp iOS/drop/App.ipa -a onebeleza.app FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=hymj-ojuc-dqrt-smif
2021-03-11T16:49:18.0049410Z [16:49:18]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
2021-03-11T16:49:22.2721210Z [16:49:22]: Sending anonymous analytics information
2021-03-11T16:49:22.2722090Z [16:49:22]: Learn more at https://docs.fastlane.tools/#metrics
2021-03-11T16:49:22.2722670Z [16:49:22]: No personal or sensitive data is sent.
2021-03-11T16:49:22.2723450Z [16:49:22]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
2021-03-11T16:49:22.2920130Z [16:49:22]: Creating authorization token for App Store Connect API
2021-03-11T16:49:22.8823260Z 
2021-03-11T16:49:22.8824310Z Looking for related GitHub issues on fastlane/fastlane...
2021-03-11T16:49:22.8824680Z 
2021-03-11T16:49:22.9186410Z 
2021-03-11T16:49:22.9187260Z [!] The request could not be completed because:
2021-03-11T16:49:22.9190110Z    Authentication credentials are missing or invalid. - Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens
2021-03-11T16:49:22.9486410Z ##[error]Error: The process '/usr/local/lib/ruby/gems/2.7.0/bin/fastlane' failed with exit code 1
aaronaerion commented 2 years ago

@ViniciusTei Did you find a solution for this?