[EAS Submission] {"error":"invalid_grant","error_description":"Invalid JWT Signature."}
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 236
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 91
Description
### Build/Submit details page URL
https://expo.dev/accounts/33715764089/projects/sils-desk/submissions/3675f8bc-9951-49e3-bf10-b7b41df7a349
### Summary
Hello, how are you? I’m having issues with EAS when trying to upload the app to Google Play Console with EAS Submission.
From one day to the next, the submission stopped working. It was working fine before, but then it just stopped… The only thing added in the release was push notifications, which use service accounts, so it might be related to that.
I reconfigured the credentials as explained in this documentation:
[https://github.com/expo/fyi/blob/main/creating-google-service-account.md](https://github.com/expo/fyi/blob/main/creating-google-service-account.md?utm_source=chatgpt.com)
But it still doesn’t work. In the meantime, I’m uploading the app manually.
This is the console log error.
`Starting the submit process
Downloading archive
Preparing artifact
Submitting Android app to Play Store...
Submitting the app with fastlane supply
/var/lib/gems/3.0.0/gems/signet-0.19.0/lib/signet/oauth_2/client.rb:1061:in `fetch_access_token': [!] Authorization failed. Server message: (Signet::AuthorizationError)
{"error":"invalid_grant","error_description":"Invalid JWT Signature."}
from /var/lib/gems/3.0.0/gems/signet-0.19.0/lib/signet/oauth_2/client.rb:1076:in `fetch_access_token!'
from /var/lib/gems/3.0.0/gems/googleauth-1.8.1/lib/googleauth/signet.rb:46:in `block in fetch_access_token!'
from /var/lib/gems/3.0.0/gems/googleauth-1.8.1/lib/googleauth/signet.rb:66:in `retry_with_error'
from /var/lib/gems/3.0.0/gems/googleauth-1.8.1/lib/googleauth/signet.rb:45:in `fetch_access_token!'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/client.rb:53:in `initialize'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/client.rb:19:in `new'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/client.rb:19:in `make_from_config'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/uploader.rb:459:in `client'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/uploader.rb:11:in `perform_upload'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/commands_generator.rb:40:in `block (2 levels) in run'
from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/commands_generator.rb:61:in `run'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/commands_generator.rb:13:in `start'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/bin/fastlane:23:in `'
from /usr/local/bin/fastlane:25:in `load'
from /usr/local/bin/fastlane:25:in `'
/var/lib/gems/3.0.0/gems/signet-0.19.0/lib/signet/oauth_2/client.rb:1061:in `fetch_access_token': Authorization failed. Server message: (Signet::AuthorizationError)
{"error":"invalid_grant","error_description":"Invalid JWT Signature."}
from /var/lib/gems/3.0.0/gems/signet-0.19.0/lib/signet/oauth_2/client.rb:1076:in `fetch_access_token!'
from /var/lib/gems/3.0.0/gems/googleauth-1.8.1/lib/googleauth/signet.rb:46:in `block in fetch_access_token!'
from /var/lib/gems/3.0.0/gems/googleauth-1.8.1/lib/googleauth/signet.rb:66:in `retry_with_error'
from /var/lib/gems/3.0.0/gems/googleauth-1.8.1/lib/googleauth/signet.rb:45:in `fetch_access_token!'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/client.rb:53:in `initialize'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/client.rb:19:in `new'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/client.rb:19:in `make_from_config'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/uploader.rb:459:in `client'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/uploader.rb:11:in `perform_upload'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/commands_generator.rb:40:in `block (2 levels) in run'
from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/commands_generator.rb:61:in `run'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/supply/lib/supply/commands_generator.rb:13:in `start'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/bin/fastlane:23:in `'
from /usr/local/bin/fastlane:25:in `load'
from /usr/local/bin/fastlane:25:in `'
+-------------------------------------------------------------------------------------------------------------------------------------------------+
| Summary for supply 2.220.0 |
+------------------------------------+------------------------------------------------------------------------------------------------------------+
| aab | /tmp/submissions/ffd937f9-08f0-4cd0-9062-64fd6d6ca91e/application_5d4ce945_73f2_4702_93e6_3a29073f61f4.aab |
| track | internal |
| json_key | /tmp/submissions/ffd937f9-08f0-4cd0-9062-64fd6d6ca91e/service-account.json |
| package_name | ar.com.sils.silsdesk |
| changes_not_sent_for_review | false |
| release_status | completed |
| skip_upload_apk | false |
| skip_upload_aab | false |
| skip_upload_metadata | false |
| skip_upload_changelogs | false |
| skip_upload_images | false |
| skip_upload_screenshots | false |
| sync_image_upload | false |
| track_promote_release_status | completed |
| validate_only | false |
| check_superseded_tracks | false |
| timeout | 300 |
| deactivate_on_promote | true |
| rescue_changes_not_sent_for_review | true |
| ack_bundle_installation_warning | false |
+------------------------------------+------------------------------------------------------------------------------------------------------------+
Looking for related GitHub issues on fastlane/fastlane...
➡️ Authorization failed: invalid_grant - Invalid JWT Signature.
https://github.com/fastlane/fastlane/issues/15600 [closed] 5 💬
15 Mar 2020
Fastlane supply failed
We couldn't figure out what went wrong. See logs to learn more.
Failed to submit the app to the store`
### Managed or bare?
Managed
### Environment
expo-env-info 1.3.4 environment info:
System:
OS: macOS 14.5
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node
Yarn: 1.22.22 - ~/silstech/sils-help-desk/node_modules/.bin/yarn
npm: 10.9.0 - ~/.nvm/versions/node/v22.12.0/bin/npm
Watchman: 2024.04.15.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.15.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.2, iOS 18.2, macOS 15.2, tvOS 18.2, visionOS 2.2, watchOS 11.2
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2412.12266719
Xcode: 16.2/16C5032a - /usr/bin/xcodebuild
npmPackages:
expo: 53.0.17 => 53.0.17
expo-router: ~5.1.3 => 5.1.3
react: 19.0.0 => 19.0.0
react-dom: 19.0.0 => 19.0.0
react-native: 0.79.5 => 0.79.5
react-native-web: ^0.20.0 => 0.20.0
npmGlobalPackages:
eas-cli: 16.17.4
Expo Workflow: managed
14/17 checks passed. 3 checks failed. Possible issues detected:
Use the --verbose flag to see more details about passed checks.
✖ Check dependencies for packages that should not be installed directly
The package "yarn" should not be installed directly in your project. It may conflict with the globally-installed version.
Advice:
Remove these packages from your package.json.
✖ Validate packages against React Native Directory package metadata
The following issues were found when validating your dependencies against React Native Directory:
Unmaintained: redux-persist
No metadata available: add, expo-config, firebase, leaflet, leaflet-defaulticon-compatibility, mime, moment, react-leaflet, reactotron-react-native, reactotron-redux, yarn
Advice:
Use libraries that are actively maintained and support the New Architecture. Find alternative libraries with https://reactnative.directory.
Add packages to expo.doctor.reactNativeDirectoryCheck.exclude in package.json to selectively skip validations, if the warning is not relevant.
Update React Native Directory to include metadata for unknown packages. Alternatively, set expo.doctor.reactNativeDirectoryCheck.listUnknownPackages in package.json to false to skip warnings about packages with no metadata, if the warning is not relevant.
✖ Check that packages match versions required by installed Expo SDK
The following packages should be updated for best compatibility with the installed expo version:
expo@53.0.17 - expected version: 53.0.22
expo-router@5.1.3 - expected version: ~5.1.5
expo-system-ui@5.0.10 - expected version: ~5.0.11
jest-expo@53.0.9 - expected version: ~53.0.10
Your project may not work correctly until you install the expected versions of the packages.
Found outdated dependencies
Advice:
Use 'npx expo install --check' to review and upgrade your dependencies.
To ignore specific packages, add them to "expo.install.exclude" in package.json. Learn more: https://expo.fyi/dependency-validation
3 checks failed, indicating possible issues with the project.
### Error output
_No response_
### Reproducible demo or steps to reproduce from a blank project
not code.
Contributor guide
Assessment
This issue has not been assessed yet.