Azure usage api getting 204 response code and no content

Ravi Sham Badole 1 Reputation point
2020-07-10T07:58:47.677+00:00

We are using following end point for getting Azure usage for CSP customer using partnercenter api
{baseURL}/v1/customers/{customer-tenant-id}/subscriptions/{subscription-id}/utilizations/azure?start_time={start-time}&end_time={end-time}&granularity={granularity}&show_details={True}
Before June month all the usage was coming correctly everyday but from June we are getting frequently 204 response code and no content.
Please can anybody help?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,639 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 21,085 Reputation points
    2023-09-18T18:35:18.0166667+00:00

    One possibility is that there is no usage data available for the specified time frame (start_time and end_time) or for the specific CSP customer and subscription you are querying. It's essential to ensure that you are using the correct tenant ID and subscription ID and that the usage data exists for the specified period.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.