cianru / huawei-appgallery-publish-gradle-plugin

Huawei AppGallery Publish Gradle Plugin allows you to publish the android release build file (*.apk or *.aab) to the Huawei AppGallery store
Apache License 2.0
111 stars 20 forks source link

Get error "call cds to query app information failed" for publishing with release phase #10

Closed cosic closed 3 years ago

cosic commented 3 years ago

When trying to publish a build with release phase at v1.2.0-snapshot I get error:

Execution failed for task ':app:publishHuaweiAppGalleryRelease'. Update App File Info is failed. Response: UpdateAppFileInfoResponse(ret=Ret(code=204144644, msg=[AppGalleryConnectPublishService]call cds to query app information failed))

cosic commented 3 years ago

I asked Huawei support. They confirmed the server issue. To work around this problem you should once set the release phase for uploader build from Developer Console. After that plugin should publish next builds without this error.

huawei-release-phase-isssue-1

Sorry for RU screenshot interface locale. Huawei doesn't allow me to change it on EN.

cosic commented 3 years ago

One more note. If already there is published version that waiting for review you'll get error:

What went wrong: Execution failed for task ':app:publishHuaweiAppGalleryRelease'. Update App File Info is failed. Response: UpdateAppFileInfoResponse(ret=Ret(code=204144647, msg=[cds]update service failed, additional msg is [The new service has can't be edited service,which can't be updated!]))

cosic commented 3 years ago

Released at v1.2.1

ilyamuromets commented 2 years ago

I get the same error while publish draft version and the AGC have manual published version that waiting for review.

cosic commented 2 years ago

@ilyamuromets Which Gradle, AGP, Kotlin and Huawei Publishing Plugin versions are you using?

ilyamuromets commented 2 years ago

@cosic Gradle 7.4.1, AGP 7.0.4, Kotlin 1.6.10, Huawei Publishing Plugin 1.3.3