oliviergauthier / gradle-appcenter-plugin

This gradle plugin allow you to upload each build variant of your android application to separate AppCenter Apps.
MIT License
85 stars 45 forks source link

Upload to App Center fails with error 400 #69

Closed gmbett closed 3 years ago

gmbett commented 3 years ago

Since yesterday uploads to App center started to fail with the following error:

Can't prepare release upload, code=400, reason={"error":{"code":400,"message":"One or more invalid parameters:\nParameter file_size must be greater than 0 : 0"}}

Note: The upload was working perfectly fine before. I even tried to update to version 1.3.0 but I'm still getting the same error

gmbett commented 3 years ago

Found the root cause of the problem, is not on your side. My bad.

lazarpanchevski commented 3 years ago

Found the root cause of the problem, is not on your side. My bad.

I'm getting the same error, Can't prepare release upload, code=400, reason={"error":{"code":400,"message":"One or more invalid parameters:\nParameter file_size must be greater than 0 : 0"}}

Can you describe please what is the fix for this?

gmbett commented 3 years ago

I was trying to upload an .apk that was not "available" (not built yet)

petersanta commented 3 years ago

Hi, I got a similar error since yesterday with 1.2.1 Can't prepare release upload, code=400, reason={"status":400,"name":"Error","message":"Missing required body parameter \"body\""}

When I update to 1.3.0, I get the same error as gmbett or lazarpanchevski.

Could you please help what was changed? Thank you!

swiatlow commented 3 years ago

Hi, same issue for me: Can't prepare release upload, code=400, reason={"status":400,"name":"Error","message":"Missing required body parameter \"body\""}

Is it maybe connected with the fact that endpoint is deprecated on AppCenter API?