BadRequest running azure-cost show
See original GitHub issueReproduction steps:
- az login
- az account set -s [subscriptionId]
- azure-cost show -s [subscriptionId] --debug
I receive:
Response status code is BadRequest and got payload size of 905
Response content: {"error":{"code":"BadRequest","message":"Invalid query definition: Invalid dataset grouping: 'BillingPeriod'; valid values:
'ResourceGroup','ResourceGroupName','ResourceType','ResourceId','ResourceLocation','SubscriptionId','SubscriptionName','MeterCategory','MeterSubcategory','Meter
','ServiceFamily','UnitOfMeasure','PartNumber','BillingAccountName','BillingProfileId','BillingProfileName','InvoiceSection','InvoiceSectionId','InvoiceSectionN
ame','Product','ResourceGuid','ChargeType','ServiceName','ProductOrderId','ProductOrderName','PublisherType','ReservationId','ReservationName','Frequency','Invo
iceId','PricingModel','CostAllocationRuleName','MarkupRuleName','BillingMonth','Provider','BenefitId','BenefitName','CustomerTenantId','CustomerTenantDomainName
','ResellerMPNId','PartnerEarnedCreditApplied','CustomerName','PartnerName',''.\r\n\r\n (Request ID: 3075b6e8-3c39-4607-8823-b42d43bd3226)"}}
Error: Response status code does not indicate success: 400 (Bad Request).
Issue Analytics
- State:
- Created 5 months ago
- Reactions:2
- Comments:24 (8 by maintainers)
Top Results From Across the Web
Getting error "{"code":"BadRequest","message":null,"target":"
I have 3 data factories, dev/uat/prod. I develop something on DEV, then use Azure devops to run through and release the ARM templates...
Read more >Get-AzReservationCatalog fails with 'BadRequest', debug ...
The debug output shows error code SubscriptionNotRegistered, message "Subscription is still pending registration or not registered.".
Read more >ADF V2: Pipeline Debugging Error "code":"BadRequest ...
1. If you had changed the destination table to be in another schema. Revisit and select "Auto-generate" to update the value with the...
Read more >ADF: Error trying to debug pipeline: BadRequest
I made a mistake recently when I was creating an ADF pipeline, annoyingly I made loads of changes and then clicked the debug...
Read more >Azure cost cli - retrieve cost overviews from the command line
I m using the cost query and forecast api to do a direct call in order not to block. You can also request...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works for me now
Thanks for the details @daesk !
Would you be able to test this with version 0.9 ? I hope I found the issue.