Gradle-play-publisher: Task bootstrap fails because of PROMO_GRAPHIC

Created on 1 Sep 2020  ยท  14Comments  ยท  Source: Triple-T/gradle-play-publisher

Describe the bug

When running the bootstrap task, it seems the Play API has changed because I get the following error:

      > A failure occurred while executing com.github.triplet.gradle.play.tasks.Bootstrap$ImageFetcher
         > 400 Bad Request
           GET https://www.googleapis.com/androidpublisher/v3/applications/myapp/edits/09106388581678554781/listings/fr-FR/promoGraphic
           {
             "code" : 400,
             "errors" : [ {
               "domain" : "global",
               "message" : "PROMO_GRAPHIC images are no longer supported.",
               "reason" : "badRequest"
             } ],
             "message" : "PROMO_GRAPHIC images are no longer supported.",
             "status" : "INVALID_ARGUMENT"
           }

How To Reproduce

Just run bootstrap task

Versions

  • Gradle Play Publisher: 2.8.0
  • Gradle Wrapper: 6.5.0
  • Android Gradle Plugin: 4.0.1

Tasks executed

./gradlew app:bootstrapRelease

Expected behavior

No error in the task !

bug listing

Most helpful comment

Alrighty, I've just released 2.8.1 which should fix the issue.

All 14 comments

The task fails but the available resources are downloaded (which is a good news)

The thing is, after that, I couldn't publish at all

Dang, they must have changed the API. If you can't publish right now, you'll need to delete the promo-graphic folder.

I hope it's not the fact that I've opted in to their new beta dashboard. I doubt the new flashy console UI didn't come with a whole API upgrade

We are getting failed CircleCI builds due to this issue as well.

I removed all the promo-graphic folders and then the tests passed.

@SUPERCILEX @Dohmanlechx - I'm also getting this issue running ./gradlew bootstrap. I'm not trying to upload anything and don't have any promo-graphic folder locally. I just wanted to pull down the latest google play resources.

Also, I looked at the store presence and I don't have a promo graphic set here either.. thoughts?

image

sorry, forgot to mention I'm running the latest version 2.8.0.. guessing the fix that was checked-in just isn't in that version yet

Correct, the fix is in 3.0. If people really want it, I could create a patch release.

Sorry, when I first found this I noticed the issue was closed and assumed it was fixed.. my bad! I don't think it's going to prevent updating the app normally so I can wait until 3.0!

thanks

@SUPERCILEX

If people really want it, I could create a patch release.

At least I (and my colleagues) want it !! ๐Ÿ™‡โ€โ™‚๏ธ ๐Ÿ™‡โ€โ™‚๏ธ ๐Ÿ™‡โ€โ™‚๏ธ

Ok, will hopefully have time over the weekend.

Very glad if you could !!! ๐Ÿ˜ญ ๐Ÿ˜ญ ๐Ÿ˜ญ

Alrighty, I've just released 2.8.1 which should fix the issue.

Thank you so much !!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ivoberger picture ivoberger  ยท  4Comments

kristiyanP picture kristiyanP  ยท  4Comments

ironjan picture ironjan  ยท  3Comments

dannyroa picture dannyroa  ยท  5Comments

bunjix picture bunjix  ยท  5Comments