Fastlane supply failed
I am getting fastlane error. It talks about permission issues but not sure what kind of permission I need to get I am trying to publish my app using expo and this is the command I used "eas submit -p android"
Waiting for submission to complete. You can press Ctrl+C to exit. ✖ Something went wrong when submitting your app to Google Play Store.
We couldn't figure out what went wrong. See logs to learn more.
[logs] Starting the submit process
[logs] Downloading archive
[logs] Preparing artifact
[logs] Submitting Android app to Play Store...
[logs] Submitting the app with fastlane supply
[logs] /var/lib/gems/2.7.0/gems/signet-0.17.0/lib/signet/oauth_2/client.rb:1028:in fetch_access_token': [!] Authorization failed. Server message: (Signet::AuthorizationError) [logs] {"error":"invalid_grant","error_description":"Invalid grant: account not found"} [logs] from /var/lib/gems/2.7.0/gems/signet-0.17.0/lib/signet/oauth_2/client.rb:1039:in fetch_access_token!'
[logs] from /var/lib/gems/2.7.0/gems/googleauth-1.3.0/lib/googleauth/signet.rb:75:in block in fetch_access_token!' [logs] from /var/lib/gems/2.7.0/gems/googleauth-1.3.0/lib/googleauth/signet.rb:102:in retry_with_error'I
[logs] from /var/lib/gems/2.7.0/gems/googleauth-1.3.0/lib/googleauth/signet.rb:74:in fetch_access_token!' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/client.rb:53:in initialize'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/client.rb:19:in new' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/client.rb:19:in make_from_config'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/uploader.rb:425:in client' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/uploader.rb:7:in perform_upload'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/commands_generator.rb:40:in block (2 levels) in run' [logs] from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
[logs] from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:157:in run' [logs] from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!' [logs] from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/commands_generator.rb:61:in run' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/commands_generator.rb:13:in start'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in take_off' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/bin/fastlane:23:in <top (required)>'
[logs] from /usr/local/bin/fastlane:23:in load' [logs] from /usr/local/bin/fastlane:23:in fetch_access_token': Authorization failed. Server message: (Signet::AuthorizationError) [logs] {"error":"invalid_grant","error_description":"Invalid grant: account not found"} [logs] from /var/lib/gems/2.7.0/gems/signet-0.17.0/lib/signet/oauth_2/client.rb:1039:in fetch_access_token!'
[logs] from /var/lib/gems/2.7.0/gems/googleauth-1.3.0/lib/googleauth/signet.rb:75:in block in fetch_access_token!' [logs] from /var/lib/gems/2.7.0/gems/googleauth-1.3.0/lib/googleauth/signet.rb:102:in retry_with_error'
[logs] from /var/lib/gems/2.7.0/gems/googleauth-1.3.0/lib/googleauth/signet.rb:74:in fetch_access_token!' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/client.rb:53:in initialize'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/client.rb:19:in new' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/client.rb:19:in make_from_config'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/uploader.rb:425:in client' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/uploader.rb:7:in perform_upload'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/commands_generator.rb:40:in block (2 levels) in run' [logs] from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
[logs] from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:157:in run' [logs] from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!' [logs] from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/commands_generator.rb:61:in run' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/supply/lib/supply/commands_generator.rb:13:in start'
[logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in take_off' [logs] from /var/lib/gems/2.7.0/gems/fastlane-2.191.0/bin/fastlane:23:in <top (required)>'
[logs] from /usr/local/bin/fastlane:23:in load' [logs] from /usr/local/bin/fastlane:23:in fastlane env to append the fastlane environment to your issue
[logs] Fastlane supply failed
[logs] Failed to submit the app
It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env :+1:
anyone?
I'm also getting a similar error, have you found a fix?
Follow these steps to generate valid and link a valid service account. https://github.com/expo/fyi/blob/main/creating-google-service-account.md
Then use the command eas credentials to re-upload the service account keys associated to EAS for your Google Play account.