Azure / Azure/azure-powershell

[Doc]: Get-AzCosmosDBMongoDBCollectionThroughput returns 404 if run on a shared throughput collection

Open
#22,653 7 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad bug CosmosDB Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

As titled, if the command is run on a shared throughput collection, we would only get the generic 404 error. The behavior is the same for both PS and bash CLI.

```text
Get-AzCosmosDBMongoDBCollectionThroughput: Entity with the specified id does not exist in the system. More info: https://aka.ms/cosmosdb-tsg-not-found
```

The ask here is to improve the self-help error message to make it stand out more.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.