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] 406: Not Acceptable error received after PUT #31657

Open
catriona-m opened this issue Nov 25, 2024 · 1 comment
Open

[BUG] 406: Not Acceptable error received after PUT #31657

catriona-m opened this issue Nov 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

@catriona-m
Copy link

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2024-04-01/dataprotection.json

API Spec version

2024-04-01

Describe the bug

Sending a PUT request with the below results in a 406: Not Acceptable response with no detailed error message and no body.


PUT https://management.azure.com/subscriptions/xxx/resourceGroups/rg1/providers/Microsoft.DataProtection/backupVaults/vault1?api-version=2024-04-01
{
  "identity": {
    "type": "SystemAssigned"
  },
  "location": "westeurope",
  "properties": {
    "securitySettings": {
      "encryptionSettings": {
        "infrastructureEncryption": "Disabled",
        "kekIdentity": {
          "identityType": "SystemAssigned"
        },
        "keyVaultProperties": {
          "keyUri": "https://xxx.vault.azure.net/keys/key1/xxxxxx"
        },
        "state": "Enabled"
      },
      "softDeleteSettings": {
        "retentionDurationInDays": 14,
        "state": "Off"
      }
    },
    "storageSettings": [
      {
        "datastoreType": "VaultStore",
        "type": "LocallyRedundant"
      }
    ]
  },
  "tags": {
    "ENV": "Test"
  }
}

Expected behavior

A detailed error message

Actual behavior

A 406: Not Acceptable response with no detailed error message and no body.

Reproduction Steps

Send PUT request with securitySettings.encryptionSettings

Environment

No response

@catriona-m catriona-m added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Nov 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 Nov 25, 2024
@v-jiaodi v-jiaodi added the Mgmt This issue is related to a management-plane library. label Nov 26, 2024
@v-jiaodi
Copy link
Member

@ankur741999 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