You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
promptToConfigurePushNotifications: true to the cli section in my eas.json.
When running eas credentials eas confirms that I have no push keys attached to my project.
However, when running eas build I confirm that I would like to set up Push Notifications for my project and get this error that kills the build
✔ Would you like to set up Push Notifications for your project? › Yes
✔ Generate a new Apple Push Notifications service key? … yes
✖ Failed to create Apple push key
Apple provided the following error info:
No value was provided for the parameter 'scope'.
All credentials are ready to build @erik.toor/lista-mobile (com.withlista.app, com.withlista.app.OneSignalNotificationServiceExtension)
✔ Would you like to set up Push Notifications for your project? › Yes
✔ Generate a new Apple Push Notifications service key? … yes
Creating Apple push key
✖ Failed to create Apple push key
Apple provided the following error info:
No value was provided for the parameter 'scope'.
UnexpectedAppleResponse: Apple provided the following error info:
No value was provided for the parameter 'scope'.
at g (/opt/homebrew/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:872914)
at name (/opt/homebrew/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:868435)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async createPushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/appstore/pushKey.js:43:21)
at async AppStoreApi.createPushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/appstore/AppStoreApi.js:63:16)
at async generatePushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/actions/PushKeyUtils.js:64:16)
at async provideOrGeneratePushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/actions/PushKeyUtils.js:39:12)
at async CreatePushKey.runAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/actions/CreatePushKey.js:16:25)
at async SetUpPushKey.runAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/actions/SetUpPushKey.js:32:23)
at async IosCredentialsProvider.getPushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/IosCredentialsProvider.js:91:20) {
errorInfo: {
responseId: '35cb4a79-d31d-469b-9c06-e174d9f79615',
resultCode: 20,
resultString: "No value was provided for the parameter 'scope'.",
userString: "No value was provided for the parameter 'scope'.",
creationTimestamp: '2025-03-16T20:33:20Z',
protocolVersion: 'QH65B2',
userLocale: 'en_US',
requestUrl: 'https://developer.apple.com/services-account/QH65B2/account/auth/key/create',
httpCode: 200
},
data: undefined
}
Error: build command failed.
Reproducible demo or steps to reproduce from a blank project
Not sure how to create on a blank project. Think this could be related to the interaction between eas and apple.
The text was updated successfully, but these errors were encountered:
as @luhart suggested, you can fix this by updating to the latest version of EAS CLI. we always recommend using the latest version. in this case, we updated it to match a new API from Apple
Build/Submit details page URL
No response
Summary
I accidentally deleted my eas push key from my https://developer.apple.com/account/resources/authkeys/list in the Apple Developer console.
I went to create a new one using eas build by adding
promptToConfigurePushNotifications: true to the cli section in my eas.json.
When running
eas credentials
eas confirms that I have no push keys attached to my project.However, when running eas build I confirm that I would like to set up Push Notifications for my project and get this error that kills the build
Managed or bare?
Bare
Environment
[email protected]
Ok to proceed? (y) y
expo-env-info 1.2.2 environment info:
System:
OS: macOS 15.2
Shell: 5.9 - /bin/zsh
Binaries:
Node: 23.10.0 - /opt/homebrew/bin/node
npm: 11.2.0 - /opt/homebrew/bin/npm
Watchman: 2025.03.10.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.16.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:
Xcode: 16.2/16C5032a - /usr/bin/xcodebuild
npmPackages:
expo: ~52.0.28 => 52.0.28
expo-router: ~4.0.17 => 4.0.17
react: 18.3.1 => 18.3.1
react-dom: 18.3.1 => 18.3.1
react-native: 0.76.6 => 0.76.6
react-native-web: ~0.19.13 => 0.19.13
npmGlobalPackages:
eas-cli: 14.5.0
expo-cli: 6.3.12
Expo Workflow: bare
Error output
All credentials are ready to build @erik.toor/lista-mobile (com.withlista.app, com.withlista.app.OneSignalNotificationServiceExtension)
✔ Would you like to set up Push Notifications for your project? › Yes
✔ Generate a new Apple Push Notifications service key? … yes
✖ Failed to create Apple push key
Apple provided the following error info:
No value was provided for the parameter 'scope'.
UnexpectedAppleResponse: Apple provided the following error info:
No value was provided for the parameter 'scope'.
at g (/opt/homebrew/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:872914)
at name (/opt/homebrew/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:868435)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async createPushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/appstore/pushKey.js:43:21)
at async AppStoreApi.createPushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/appstore/AppStoreApi.js:63:16)
at async generatePushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/actions/PushKeyUtils.js:64:16)
at async provideOrGeneratePushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/actions/PushKeyUtils.js:39:12)
at async CreatePushKey.runAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/actions/CreatePushKey.js:16:25)
at async SetUpPushKey.runAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/actions/SetUpPushKey.js:32:23)
at async IosCredentialsProvider.getPushKeyAsync (/opt/homebrew/lib/node_modules/eas-cli/build/credentials/ios/IosCredentialsProvider.js:91:20) {
errorInfo: {
responseId: '35cb4a79-d31d-469b-9c06-e174d9f79615',
resultCode: 20,
resultString: "No value was provided for the parameter 'scope'.",
userString: "No value was provided for the parameter 'scope'.",
creationTimestamp: '2025-03-16T20:33:20Z',
protocolVersion: 'QH65B2',
userLocale: 'en_US',
requestUrl: 'https://developer.apple.com/services-account/QH65B2/account/auth/key/create',
httpCode: 200
},
data: undefined
}
Error: build command failed.
Reproducible demo or steps to reproduce from a blank project
Not sure how to create on a blank project. Think this could be related to the interaction between eas and apple.
The text was updated successfully, but these errors were encountered: