This document helps you resolve some common issues with data that is
missing or unavailable in Cloud Hub.

Cloud Hub displays data from other Google Cloud services. To
view the data, the APIs that provide the data must be enabled and you must
have permissions to view the data. To view data for an
[App Hub](https://docs.cloud.google.com/app-hub/docs/overview.md.txt) application, there are additional requirements.

To learn more about application and project data views, see
[Application views and project views](https://docs.cloud.google.com/hub/docs/app-project-views.md.txt).

## Missing required APIs and permissions

If some or all data is missing from a Cloud Hub page, the cause
might be that a required API is not enabled or that you are missing permissions
to view the data.

Cloud Hub pages display a message if:

- A [required API](https://docs.cloud.google.com/hub/docs/setup-cloud-hub.md.txt#enable-apis) is not enabled.
- You don't have permissions to view data for the selected project or folder.
- The page doesn't support viewing data for a project or doesn't support viewing data for an application.

The following table shows the support that each page provides for
displaying data for a project or an application.

| Page | Applications in a project | Applications in a folder | Project resources |
|---|---|---|---|
| [Home](https://docs.cloud.google.com/hub/docs/home.md.txt) |   |   |   |
| [Deployments](https://docs.cloud.google.com/hub/docs/deployments.md.txt) |   |   |   |
| [Health \& troubleshooting](https://docs.cloud.google.com/hub/docs/health.md.txt) |   |   |   |
| [Security \& compliance](https://docs.cloud.google.com/hub/docs/security.md.txt) |   |   |   |
| [Optimization](https://docs.cloud.google.com/hub/docs/optimize.md.txt) |   |   |   |
| [Maintenance](https://docs.cloud.google.com/hub/docs/maintenance.md.txt) |   |   |   |
| [Quotas \& reservations](https://docs.cloud.google.com/hub/docs/quotas-reservations.md.txt) |   |   |   |
| [Support](https://docs.cloud.google.com/hub/docs/support.md.txt) |   |   |   |
| [App Topology](https://docs.cloud.google.com/hub/docs/support.md.txt) |   |   |   |

Some APIs such as Cloud Logging and Cloud Monitoring are enabled by
default when you create a project. APIs for other services, such as
Cloud Quotas, Unified Maintenance, and Personalized Service Health must
be enabled separately to view data related to the service.

The names in the **Page** column link to the documentation for each page. The
page-specific documentation describes required roles to view data on the page.

- If you are viewing data by project, then you must have the required permissions on the selected project.
- If you are viewing data by application, then the data that you
  can access depends on how your administrator granted permissions.

  For example:
  - Granting Identity and Access Management (IAM) roles on a folder provides access to data in descendant projects.
  - Granting IAM roles on the management project provides access to data that is stored in the management project or is visible from the management project.
  - Granting IAM roles on specific projects only provides access to data that is stored in or is visible from those projects.

## Page is not viewable

When you try to open a page, you see one of the following messages:

- `Page not viewable for projects`
- `Page not viewable for folders`

Some Cloud Hub pages only display data for projects or only
display data for applications.

- If you see the message `Page not viewable for projects`, a project is selected in the project picker in the Google Cloud console toolbar and you are viewing a page that can only display data for an application. To view application data, select a folder configured for application management instead.
- If you see the message `Page not viewable for folders` when you try to view a page, then a folder configured for application management (![](https://docs.cloud.google.com/static/hub/images/app-folder.png)) is selected in the project picker in the Google Cloud console toolbar. You can only view Cloud Hub pages that can display data for App Hub applications. You can view data for an individual project in the folder by selecting the project from the project picker.

## Missing application data

This section describes requirements to view data for App Hub
applications and some situations where you might encounter missing data for an
App Hub application.

### Verify requirements

To view data for App Hub applications, ensure that
the following steps are complete:

1. [Set up App Hub for a folder](https://docs.cloud.google.com/app-hub/docs/set-up-app-hub-folder.md.txt) and create your
   applications.

2. [Set up aggregation of logs, metrics, and traces](https://docs.cloud.google.com/stackdriver/docs/observability/setup-application-monitoring.md.txt) for your
   applications.

> [!NOTE]
> **Note:** Cloud Hub only supports applications in a folder configured for application management. It doesn't support applications in a [host project or a single-project boundary](https://docs.cloud.google.com/app-hub/docs/set-up-app-hub.md.txt#compare-models).

### Can't select an application from the Application list

Some Cloud Hub pages such as **Health \& troubleshooting** have
an **Application** selector that you can use to choose an App Hub
application to review.

If you see the message `Application: Not applicable`, then a project is selected
in the project picker in the Google Cloud console toolbar.

To view data for an application, choose a folder that is configured for
application management (![](https://docs.cloud.google.com/static/hub/images/app-folder.png)) in the project picker.
To learn about enabling a folder for application management, see
[Managing applications in a folder](https://docs.cloud.google.com/resource-manager/docs/manage-applications.md.txt).

### The selected folder is not app-enabled

If you see the message `Folder is not app-enabled`, then the folder that is
selected in the project picker in the Google Cloud console toolbar is not
configured for application management.

To view data for an application, choose a folder configured for application
management in the project picker. Folders configured for application management
have a special icon (![](https://docs.cloud.google.com/static/hub/images/app-folder.png)). To learn about enabling
a folder for application management, see
[Managing applications in a folder](https://docs.cloud.google.com/resource-manager/docs/manage-applications.md.txt).

### Can't view data for some applications on the Optimization page

When you try to view cost data for an application on the Optimization page,
you see an error about mismatched currency codes similar to the following
example:

    Currency codes 'EUR' and 'GBP' do not match

The **Optimization** page can only display costs for an application with all
resource costs in the same currency. The currency for a resource is determined
by the [currency](https://docs.cloud.google.com/billing/docs/resources/currency.md.txt#about-currencies) of the parent project's billing account.
If an application has resources associated with different billing accounts,
the billing accounts must all be configured for the same currency to view
application cost data.