Databricks Apps - "App Not Available" error with locationId parameter missing

yutmurakami
Visitor

Hello,

I'm experiencing an issue with Databricks Apps where I cannot access my deployed app from a browser, even though the app appears to be running successfully.

**Symptoms:**
- Browser shows "App Not Available" error when accessing the app URL
- Console errors show:
- "BAD_REQUEST: Missing or invalid required parameter: locationId"
- "403 Forbidden on /ajax-api/2.0/apps/[app-name]"
- WebSocket connection failures

**Environment:**
- Workspace ID: 7474651874855137
- Workspace URL: https://dbc-629cd32b-8c5e.cloud.databricks.com
- App Name: mail-agent-ui-v2
- App URL: https://mail-agent-ui-v2-7474651874855137.aws.databricksapps.com
- Region: AWS

**What I've confirmed:**
App is successfully deployed (state: SUCCEEDED)
Streamlit server is running normally (verified in logs)
No errors in application logs
curl/Python requests return 302 redirect (OAuth flow starts correctly)
Tested from multiple browsers and networks (home Wi-Fi, mobile)
App compute shows: "App compute was stopped due to workspace or account status"

**Additional observation:**
The app was automatically stopped with the message "App compute was stopped due to workspace or account status", which suggests there might be a workspace or account-level restriction.

**Questions:**
1. Is there a workspace or account setting that needs to be enabled for Databricks Apps?
2. Could this be related to authentication/authorization at the workspace level?
3. Has anyone else experienced this locationId parameter error?

The app itself appears to be working correctly internally, but the OAuth authentication flow seems to fail when accessed from a browser.

Any help or suggestions would be greatly appreciated!