keesschollaart81 / AzureCostInsights.Marketplace

Azure Cost Insights - A widget for Azure DevOps (Maintenance repo)
https://marketplace.visualstudio.com/items?itemName=keesschollaart.AzureCostInsights
25 stars 8 forks source link

Download Cost Data not Working #26

Closed srike4 closed 4 years ago

srike4 commented 4 years ago

Hi Kees,

Getting the below error while downloading the cost data from azure portal. Can you please help here?

Downloading costs using Usage API Unhandled exception during Download Task { Error: Error SyntaxError: Unexpected token  in JSON at position 0 occurred in deserializing the responseBody - {"OfferTerms":[],"Meters":[{"EffectiveDate":"2019-10-28T00:00:00Z","IncludedQu

AUGuru commented 4 years ago

Same, has been occurring since about 12/19/19. We use this on a dashboard and I'm trying to talk the powers that be to buying a license so I can monitor multiple subscriptions for executives to see our daily azure costs, and our DevOps efforts to reduce those, so getting it working again would be excellent!

keesschollaart81 commented 4 years ago

Yes, sorry, back from holidays! Will look into it this week! Sorry for the inconvenience!

keesschollaart81 commented 4 years ago

It seems there has been a change to the RateCard api that breaks the Commerce JS SDK. I've created an issue here:

https://github.com/Azure/azure-sdk-for-js/issues/6780

I'll wait a bit to see what they think as I dont really have a workaround?

keesschollaart81 commented 4 years ago

It was a bug in the Azure Rate Cart REST API which is now fixed (as it seems). Please reopen if you still face this issue!