Appcenter-cli: Getting Error 400 using appcenter_upload

Created on 23 Jun 2021  路  5Comments  路  Source: microsoft/appcenter-cli

I was building a flutter project via pipeline then suddenly encountered an error:

Error 400: {"status"=>400, "name"=>"Error", "message"=>"Missing required body parameter \"body\""}

I had no code change since my last successful appcenter upload but when I rerun the pipeline it failed with the ff error.

This is my entire log https://pastebin.com/YdH8fvX4

This is a snippet of my fastfile (senstive info removed):

appcenter_upload(
     api_token: "xxxxxxxxxxxxxxxxx", #Your secret api token from app center
     owner_name: "xxxxxxxx", # Your username on AppCenter
     owner_type: "xxxxxxxxxxxxx",
     app_name: options[:appcenter], # Your AppCenter name
     apk: "../build/app/outputs/flutter-apk/app-"+options[:env]+"-release.apk",
     destinations: "xxxxx,xxxxxx",
     release_notes: sh("cat " + File.dirname(__FILE__) + "./../CHANGELOG.md"),
     should_clip: true,
     notify_testers: "true"
   )
Distribute

Most helpful comment

@dreamertheat @ryandegruyter Our backend team deployed the fix and it must be resolved now. Feel free to reopen this issue if you encounter the problem again.

All 5 comments

Same issue here with a cURL request to fetch upload URL and ID, API seems to misbehave.

$(curl -X POST --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header "X-API-Token: ${APPCENTER_APP_TOKEN}" \ "https://api.appcenter.ms/v0.1/apps/${GROUP}/${NAME}/release_uploads")

Error has disappeared, seems to have been fixed.

Error has disappeared, seems to have been fixed.

same here, i just rerun the pipeline and it worked already. What seems to be the problem? I didnt see any entries from https://status.appcenter.ms

The Distribute service is experiencing some issues, we are working on resolving them.
From the status page:
Distribute: Partial Outage

@dreamertheat @ryandegruyter Our backend team deployed the fix and it must be resolved now. Feel free to reopen this issue if you encounter the problem again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nandafirmans picture nandafirmans  路  4Comments

grndvl1 picture grndvl1  路  4Comments

danidev-tempus picture danidev-tempus  路  3Comments

phantrungphat picture phantrungphat  路  3Comments

snap608 picture snap608  路  6Comments