Attachment Upload Fails during confluence Migration using CCMA

XMLWordPrintable

    • 1
    • Severity 2 - Major

      Issue Summary

      Attachment Upload Fails during confluence Migration using CCMA

      Steps to Reproduce

      1. select a space or a list of spaces to migrate using CCMA

      Expected Results

      Expected the space to migrate successfully without any errors 

      Actual Results

      The below errors are shown in confluence log file during Attachment uploads in Cloud

      2023-11-03 15:59:37,257 ERROR [com.atlassian.migration.agent.service.stepexecutor.attachment.AttachmentMigrationExecutor:thread-4] [service.stepexecutor.attachment.AttachmentMigrationExecutor] error Attachment uploader finished with exception 
      
      java.util.concurrent.CompletionException: com.atlassian.migration.agent.okhttp.HttpServiceException: Bad request. Status code: 422, message: , headers: Date: Fri, 03 Nov 2023 14:59:37 GMT
      Server: AtlassianEdge
      
      at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
          at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
          at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1629)
          at com.atlassian.migration.agent.logging.LoggingContextAwareExecutorService.lambda$execute$3(LoggingContextAwareExecutorService.java:104)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
      Caused by: com.atlassian.migration.agent.okhttp.HttpServiceException: Bad request. Status code: 422, message: , headers: Date: Fri, 03 Nov 2023 14:59:37 GMT

       

      The below exception is thrown during Attachment Uploads in the cloud:

      Error:
      2023-11-03T14:59:40.097Z ERROR Step failed, taskName: Migrate space XXXX | stepType: ATTACHMENT_UPLOAD | message: Failed to migrate space XXXX attachments
      [Exception Details]: com.atlassian.migration.agent.okhttp.HttpServiceException: Bad request. Status code: 422, message: , headers: Date: Fri, 03 Nov 2023 14:59:37 GMT
      Server: AtlassianEdge
      Transfer-Encoding: chunked{{ at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)}}
      {{ at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)}}
      {{ at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1629)}}
      {{ at com.atlassian.migration.agent.logging.LoggingContextAwareExecutorService.lambda$execute$3(LoggingContextAwareExecutorService.java:104)}}
      {{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)}}
      {{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)}}
      {{ at java.lang.Thread.run(Thread.java:748)}}
      Caused by: com.atlassian.migration.agent.okhttp.HttpServiceException: Bad request. Status code: 422, message: , headers: Date: Fri, 03 Nov 2023 14:59:37 GMT

      Workaround

      No workaround is found so far.

              Assignee:
              Unassigned
              Reporter:
              Sayeed Islam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: