expo upload:android with passed --id produces "We couldn't find build with id"
Description
Cannot upload a specific builId (by passing the --id parameter) to android play store using the expo ua command.
BUILD ID was taken from this section on expo detail page:
Both (Web and CLI) are logged as same user.
Expected Behavior
I expect i can pass the BUILD ID found on Build Detail page to upload:android command
expo ua --id "[BUILD_ID]" --key [PATCH_TO_ACCESS_JSON] --track alpha
Observed Behavior
Upload action fails with message
expo ua --id "[BUILD_ID]" --key [PATCH_TO_ACCESS_JSON] --track alpha
Failed to upload the standalone app to the app store.
We couldn't find build with id [BUILD_ID]
Error: We couldn't find build with id [BUILD_ID]
at AndroidUploader._downloadBuildById (/[email protected]/src/commands/upload/BaseUploader.ts:67:13)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at AndroidUploader.upload (/[email protected]/src/commands/upload/BaseUploader.ts:31:23)
at /[email protected]/src/commands/upload.ts:108:7
at Command.<anonymous> (/[email protected]/src/exp.ts:85:7)
Environment
Expo CLI 3.15.4 environment info:
System:
OS: macOS Sierra 10.12.6
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.16.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
expo: ^36.0.0 => 36.0.2
react: 16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz => 0.61.4
react-navigation: ^4.0.10 => 4.0.10
Reproducible Demo
Just try to not use the --latest flag and specify a build id with --id [BUILD_ID] I was not able to use the id flag on 2 tested accounts and multiple projects
Having the same issue did you find a solution?
Having the same issue did you find a solution?
no solution yet. still facing the same problem
Chiming in that we're having the same problem, but that it worked last week.
I'm also having this problem
Same for
expo upload:ios --id <id>
Hi -- For people who had this problem, can you please e-mail your build IDs to [email protected] ? That will help us do a better job of investigating this. @trexpert @BojanOro @fractalmarc @ajouve
We've identified the problem and will be deploying a fix shortly.
This issue should be resolved now, thanks for your patience!
@jkhales
I'm having the same issue for using --path <id>
expo upload:ios --id <id>
The error is : Failed to upload the standalone app to the app store.
We couldn't find build with id
My expo version: 3.25.1 My expo version on package.json dependencies: ~38.0.8
I'm certain the build id I'm passing in is correct. I got it from the place where the original poster of this mentioned for build ids.
hey @ptkpyitheim!
can you share the build id?
Sure
6713ec26-8a71-4ae2-afb9-f93fcb56ba22
hey @ptkpyitheim!
can you share the build id?
In addition to the id, I tried with --latest tag but it tells me I need to run 'expo build:ios'. I've ran it about 3 times.
this does not appear to be a valid build id. where are you finding that?
you can go to your dashboard: https://expo.io/dashboard/ then find the build, click on it, and check the Build ID field
you can go to your dashboard: https://expo.io/dashboard/ then find the build, click on it, and check the Build ID field
This is where I got it from

ah i see - i think you may be seeing this error because it is a simulator build, and you can't upload simulator builds to apple. the error is indeed confusing around this though
ah i see - i think you may be seeing this error because it is a simulator build, and you can't upload simulator builds to apple. the error is indeed confusing around this though
Ah but the only options I have are simulator or archive builds. That means I have to do the archive build instead then, correct?
correct
correct
I appreciate you.