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
113 stars 20 forks source link

API fails for any language when release notes are uploaded #49

Closed biodranik closed 1 year ago

biodranik commented 1 year ago

Did you see this error before? It fails for any language and any size of text (less than 500 bytes or less than 500 characters):

gradle publishHuaweiAppGalleryHuaweiRelease

> Task :publishHuaweiAppGalleryHuaweiRelease
Huawei AppGallery Publishing API: Prepare input config
Huawei AppGallery Publishing API: Found build file: `OrganicMaps-23050808-huawei-release.aab`
Huawei AppGallery Publishing API: Get Access Token
Huawei AppGallery Publishing API: Get App ID
Huawei AppGallery Publishing API: Get Upload Url
Huawei AppGallery Publishing API: Upload build file 'build/outputs/bundle/huaweiRelease/OrganicMaps-23050808-huawei-release.aab'
Huawei AppGallery Publishing API: Upload release notes: 1/59, lang=tr-TR

> Task :publishHuaweiAppGalleryHuaweiRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':publishHuaweiAppGalleryHuaweiRelease'.
> Update Release Notes for 'tr-TR' is failed. Response: UpdateReleaseNotesResponse(ret=Ret(code=204144649, msg=[cds]update app information failed, additional msg is [Parameter(appInfo.languages.newFeatures) error: String ,length between 0 and 500]))
cosic commented 1 year ago

@biodranik Hi! What the plugin version are you using to reproduce the issue?

biodranik commented 1 year ago

I've tried both: 1.3.6 and 1.4.0. It looks like Huawei API issue...

cosic commented 1 year ago

@biodranik Hey. I have not been able to reproduce the issue for several days. How does it stable in your case?

biodranik commented 1 year ago

We didn't upload any new releases yet. Will let you know later when we'll do it.

So you never hit that issue, right?

cosic commented 1 year ago

So you never hit that issue, right?

Yes, never

biodranik commented 1 year ago

I did not reproduce it today. Looks like Huawei fixed their temporary issue.

cosic commented 1 year ago

@biodranik Hi! Did the problem resolve itself?

biodranik commented 1 year ago

It did not reproduce last night.