Closed eygraber closed 1 year ago
We just ran into this issue as well. This is caused by an incomplete declaration of app's Financial features.
The deadline for that was August 31st. And it seems that they started rejecting builds into accounts that are not setup.
To fix this:
We can confirm, we have encountered the same problem.
* What went wrong:
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishBundle$Processor
> There was a failure while executing work items
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishBundle$BundleUploader
> insufficient data written
Thanks that was it for us as well
We also ran into this recently, although the problem was with a user-account deletion section recently added/modified for App Content. It would be nice if Google somehow disclosed this in the error for gradle-play-publisher to pick up on and report back, but I guess it's missing on Google's part.
We have this issue too, but it still persists even after declaring financial features and user-account deletion.
Our build generates multiple apks for different ABIs and it seems that 3 out of 4 apks are uploaded correctly. The publish task fails with "insufficient data written" error when uploading the 4th apk.
@SUPERCILEX , is there a switch to run the task in verbose mode with logging please?
I had the same issue with the Data safety
section
Once submitted (even in review), it worked
@LudoFarkas https://docs.gradle.org/current/userguide/logging.html#logLevels debug dumps the network requests IIRC.
@LudoFarkas We are in a similar situation, even after submitting all of our documentation, we are still seeing this issue (but not consistently)
@SUPERCILEX , thanks for the tip. It might have occurred to me.
However, I'm quite sure the problem is not just the incomplete store listing. Our store listing is updated according to the comments above, and the store console does not show any issues. In our case, there are 4 APKs to upload due to different ABIs. The sizes of the apks are from 70 to around 100 MB. So 'gradle-play-publisher' tries to upload 4 APKs and 4 times the same mapping = 8 files.
Here are my observations after setting the gradle log level to '--info' and observing the task multiple times:
So, if the gradle error is:
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$Processor
> There were multiple failures while executing work items
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$ApkUploader
> insufficient data written
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$ApkUploader
> insufficient data written
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$ApkUploader
> insufficient data written
with 3 failed uploads, then there were 3 authentification calls during the task execution.
@SUPERCILEX , could you please have a look at it? Should I create a new issue?
I'm reopening because this started happening again after filling out all required forms in the console and publishing that.
Confirming: We are affected as well
I suggest raising support tickets with Google Play as well, maybe we get a better answer and resolution as the issue seems to be more widespread and only affecting API usage (I was able to consistently upload via the web Console): https://support.google.com/googleplay/android-developer/contact/general_contact
Even seeing where some uploads work and others fail inside the same invocation of gradle.
The stark difference in time spent before getting that error seems smelly to me.
We're seeing this as well. Is this a google issue?
Howdy there!
sadly i am seeing same issue in my project :( Listing in play store looks fine
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$Processor
> There were multiple failures while executing work items
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$ApkUploader
> insufficient data written
Any more ideas please ?
same here 🤔😢
Same here. I am really relying on this. Uploading it manually with mulitple ABIS and bundles is not really an option. Any alternative? Is someone in contact with Google already?
I just finally got my act together and reached out to Google, I'll keep you posted when I hear back.
I contacted Google yesterday. They said they need time to look into it. I pointed them to this issue, but the more reports they get, the more real it will be to them.
Google seems to have fixed something in the meantime, because my apps got finally uploaded after many tries in the last three days.
I too can confirm that all of our uploads were successful yesterday.
Working again. What a relief 👍
Confirming things are working again. The price for depending on centralized entities for our products.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
My nightly release is started failing today with the error:
How To Reproduce
Upload a bundle
Versions
Tasks executed
publishReleaseBundle