apkup icon indicating copy to clipboard operation
apkup copied to clipboard

Problem with a missing paramter?

Open HarelM opened this issue 4 years ago • 5 comments

I'm trying to upload a file to play store and I'm getting the following error:

npx apkup upload -k ./playstore_service_account.json -a $aabVersioned -t 'internal'
- Uploading APK...
ERROR: Changes cannot be sent for review automatically. Please set the query parameter changesNotSentForReview to true. Once committed, the changes in this edit can be sent for review from the Google Play Console UI.

Is there a problem with my code? this used to work in the past... probably a change in google store API?

HarelM avatar Jul 22 '21 12:07 HarelM

@HarelM Could you please run it again but set the DEBUG variable to this first:

export DEBUG=apkup:*

Then send the log from that.

I've not seen this error message before. It's possible that it is either an API change (although, I think unlikely) or your app is in some state that has different requirements.

nprail avatar Jul 22 '21 13:07 nprail

This may be helpful: https://github.com/Triple-T/gradle-play-publisher/issues/956#issuecomment-847691895

nprail avatar Jul 22 '21 13:07 nprail

Seems like the root cause sound similar as I recently got my app rejected (not sure why) and it might be that it's the same. The solution there seems like a good solution to me as well... If this could be implemented here as well it would be great. Thanks for this awesome library and the super quick response!

HarelM avatar Jul 22 '21 13:07 HarelM

Any update on this issue ? How to send the query parameters ?

acedigibits avatar Aug 25 '21 14:08 acedigibits

Hey guys, I implemented --changesNotSentForReview switch which fixes the issue.

Hey @nprail , great work here. I created PR for this key https://github.com/eventOneHQ/apkup/pull/69

If Noah will not be able to merge then everyone can use our scoped version:

npx @devforth/apkup \
  upload \
  --changesNotSentForReview \
  --track 'internal' \
  --key ~/keys/XXYYUUII.json \
  --apk build/app/outputs/bundle/release/app-release.aab \
  --release-notes "en-US=New Version $versionName: $1"

ivictbor avatar Jun 21 '22 20:06 ivictbor