# Forge data residency hook comes to wrong base URL

**URL:** <https://community.developer.atlassian.com/t/forge-data-residency-hook-comes-to-wrong-base-url/90806>\
**Category:** Forge\
**Tags:** data-residency\
**Created:** [March 31, 2025, 1:00pm UTC](https://community.developer.atlassian.com/t/forge-data-residency-hook-comes-to-wrong-base-url/90806 "2025-03-31T13:00:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SemyonGashchenko](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@SemyonGashchenko](https://community.developer.atlassian.com/u/SemyonGashchenko)\
**Post date:** [March 31, 2025, 1:00pm UTC](https://community.developer.atlassian.com/t/forge-data-residency-hook-comes-to-wrong-base-url/90806/1 "2025-03-31T13:00:12Z")

</div>

We are testing [data residency](https://developer.atlassian.com/platform/forge/data-residency/) in Forge. The manifest includes the following:

```auto
remotes:
  - key: connect
    baseUrl:
      default: https://test-host-1.dev.structure.app
      US: https://test-host-1.dev.structure.app
      EU: https://test-host-2.dev.structure.app
      DE: https://test-host-2.dev.structure.app
...
modules:
  migration:dataResidency:
    - key: dare
      remote: connect
      path: /atlassian/structure/realm-migration
      maxMigrationDurationHours: 2

```

In the Security/Data Residency admin, we can see that the Forge application is installed in Germany, i.e. the active base URL is [https://test-host-2.dev.structure.app](https://test-host-2.dev.structure.app) (we can also see that EU, Germany, USA are supported) and we can see that requests from the UI go to this host. At the same time Jira itself is pinned in USA.  
But when scheduling a migration of plugin data from Germany to USA, the **webhook comes to the** path `/atlassian/structure/realm-migration/schedule` of the **host [https://test-host-1.dev.structure.app](https://test-host-1.dev.structure.app), not [https://test-host-2.dev.structure.app](https://test-host-2.dev.structure.app)**.
