cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

Requesting Assistance with /billing-profiles API Endpoint Access - 503 TEMPORARILY_UNAVAILABLE

Buavika
New Contributor II

Hi,

I am trying to use the `/billing-profiles` endpoint from the Accounts API to retrieve billing profile and currency information. I am authenticated using OAuth2 client credentials, but I am consistently getting the following error:

Status Code: 503  
Message: TEMPORARILY_UNAVAILABLE

Can you please confirm the following:
- Whether this endpoint is currently available for my account.
- Whether any specific entitlements, permissions, or support plans are required to access this endpoint.

Here are my details:
- Account ID: 18f0ad11-5179-43b8-a0ec-52117645aef9  

6 REPLIES 6

Advika
Databricks Employee
Databricks Employee

Hello @Buavika!

Could you confirm if you've been able to access any other account-level endpoints using the same OAuth2 setup? Also, let us know which region your Databricks account is in.

Buavika
New Contributor II

Hi @Advika ,

Yes, I am able to access the workspace endpoint using OAuth2 setup .Our Databricks account is in the ap-southeast-2 region. Please let me know if any additional information is needed. 

 

 

 

Renu_
Valued Contributor II

@BuavikaThe recommended way to view billing and currency details is through the Databricks Account Console UI. For programmatic access, you can query the system.billing.list_prices or system.billing.usage system tables from a Unity Catalog-enabled workspace. Note that access requires the appropriate admin privileges.

szymon_dybczak
Esteemed Contributor III

Hi @Buavika ,

 

The rest API operates at 2 levels: account and workspaace. What @Advika  asked if any other endpoint from account level works for you? 

 

Because if not, maybe you misconfigured authentication or something.

Hi,

We are not able to access any of the account-level endpoints such as Billing Profile, Billable Usage, and Workspace Management. We are currently using the Databricks free tier, is this the reason we are not getting the APIs.

szymon_dybczak
Esteemed Contributor III

Hi @Buavika ,

Yes, most probably this is the reason why it doesn't work for you. In Free Trial some features may be limited or unavailable. To access all the features, you need to upgrade your account to Premium.