Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

BitBucket Cloud Migration Assistant throwing exception and stuck at awaiting migration

faizal_haji_admin December 1, 2025

 
We had successful migrations using (BitBucket Cloud Migration Assistant) BCMA for a while but starting today, December 1, 2025, we are having problems using this plugin.

The BCMA plugin was uninstalled and installed but still not luck.

We have confirmed we have the latest version of the BCMA plugin.

Logs show that the BCMA is throwing exception:


c.a.b.p.b.m.MigrationServiceClient Requesting: https://api-private.atlassian.com/migrations/v1/migration/f2aabbdf-2c65-4440-8b3a-eb4a36699680?heartbeat=true
2025-12-01 13:42:37,872 DEBUG [bcma-4] c.a.b.p.b.j.V4MigrationJobPollerDelegate No command found for poller V4Poller-bitbucketRepositoryDataUpload-100eb364-478a-41b9-a0dc-d99f299f18bb, will keep trying
2025-12-01 13:42:37,873 DEBUG [bcma-4] c.a.b.p.b.j.V4MigrationJobPollerDelegate Polling command for poller: V4Poller-bitbucketRepositoryDataUpload-100eb364-478a-41b9-a0dc-d99f299f18bb
2025-12-01 13:42:37,882 ERROR [bcma-1] c.a.b.plugin.bcma.polling.Poller Unexpected error whilst executing polling loop
com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceClientErrorException: Error occurred during migration
at com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceExceptions.clientError(Exceptions.kt:35)
at com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceClient.defaultUnexpectedStatusCodeExceptionHandler(MigrationServiceClient.kt:736)
at com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceClient.access$defaultUnexpectedStatusCodeExceptionHandler(MigrationServiceClient.kt:42)
at com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceClient$runHandlingHttpCallExceptions$1.invoke(MigrationServiceClient.kt:730)
at com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceClient$runHandlingHttpCallExceptions$1.invoke(MigrationServiceClient.kt:730)
at com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceClient.runHandlingHttpCallExceptions(MigrationServiceClient.kt:746)
at com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceClient.runHandlingHttpCallExceptions(MigrationServiceClient.kt:730)
at com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceClient.execute(MigrationServiceClient.kt:726)
at com.atlassian.bitbucket.plugin.bcma.migrationservice.MigrationServiceClient.getMigration(MigrationServiceClient.kt:174)
at com.atlassian.bitbucket.plugin.bcma.polling.StatusPollerDelegate.doInvoke(StatusPollerDelegate.kt:43)
at com.atlassian.bitbucket.plugin.bcma.polling.StatusPollerDelegate.run(StatusPollerDelegate.kt:23)
at com.atlassian.bitbucket.plugin.bcma.polling.Poller.doPoll(Poller.kt:121)
at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.lang.Thread.run(Thread.java:750)
... 1 frame trimmed
Caused by: com.atlassian.bitbucket.plugin.bcma.httpclient.exceptions.UnexpectedStatusCodeException: Received an unexpected status code; expected [200], but received 403: {"timestamp":"2025-12-01T20:42:37.865+00:00","path":"/migrations/v1/migration/f2aabbdf-2c65-4440-8b3a-eb4a36699680","status":403,"error":"Forbidden","requestId":"51ce9bb9-585403","message":"ASAP token is unauthorized"}

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events