Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] GET Microsoft.DBforPostgreSQL/flexibleServers/migrations @ 2023-12-01-preview returns 400 #30734

Open
cjdalan opened this issue Sep 25, 2024 · 1 comment
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@cjdalan
Copy link

cjdalan commented Sep 25, 2024

API Spec link

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-12-01-preview/Migrations.json

API Spec version

2023-12-01-preview

Describe the bug

I get an error when sending a GET HTTP request to Microsoft.DBforPostgreSQL/flexibleServers/migrations REST API

Expected behavior

Returns

{
  "message": null,
  "name": "testmigration",
  "nameAvailable": true,
  "reason": null,
  "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations"
}

Actual behavior

Returns

{'error': {'code': 'InvalidInput', 'message': "Invalid input. Parameter name: 'MigrationResourceId'. Error: Invalid migration resource ID 'subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testServer/migrations/testMigration'.\r\nParameter name: MigrationResourceId"}}

Reproduction Steps

Send a GET HTTP request to https://management.azure.com/subscriptions/${subscription_id}/resourceGroups/${resource_group_name}/providers/Microsoft.DBforPostgreSQL/flexibleServers/${server_name}/migrations/${migration_name}?api-version={api_version}

Environment

No response

@cjdalan cjdalan added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Sep 25, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Sep 25, 2024
@v-jiaodi v-jiaodi added the Mgmt This issue is related to a management-plane library. label Sep 26, 2024
@v-jiaodi
Copy link
Member

@nasc17 Please help take a look, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants