Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65944

Upload APK failed 400 with message "Missing required body parameter"

XMLWordPrintable

      This issue happens sometimes when I am trying to upload APK using the Jenkins app-center plugin, this is my config in the Jenkins file

       appCenter apiToken: appCenterToken,
       ownerName: appCenterOwn,
       appName: releaseEnv.appCenterName,
       pathToApp: releaseEnv.apkPath,
       distributionGroups: 'Collaborators',
       pathToReleaseNotes: releaseEnv.releaseNotesPath
       
      

      io.jenkins.plugins.appcenter.AppCenterException: Create upload resource for app unsuccessful: HTTP 400 : {"status":400,"name":"Error","message":"Missing required body parameter \"body\""}12:43:55 at io.jenkins.plugins.appcenter.AppCenterLogger.logFailure(AppCenterLogger.java:23)12:43:55 at io.jenkins.plugins.appcenter.AppCenterLogger.logFailure(AppCenterLogger.java:37)12:43:55 at io.jenkins.plugins.appcenter.task.internal.CreateUploadResourceTask.lambda$createUploadResourceForApp$0(CreateUploadResourceTask.java:59)

            Unassigned Unassigned
            bironader Biro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: