During or after [account linking](https://developers.google.com/nest/device-access/authorize#link_your_account),
PCM may return an error. The errors documented here are
listed in order of precedence.

In this document, <var translate="no">PARTNER</var> refers to the name of the
Device Access project.

## During account linking

These errors occur during the account linking process.

### Something went wrong

| Message | Description |
|---|---|
| ### Please contact the developer of this app if the issue persists. | This error occurs when the Project ID specified in the PCM URL is not found or invalid. Make sure to use the correct Project ID for your project. |

### Can't link to *PARTNER*

This error may surface different messages:

| Message | Description |
|---|---|
| ### Please contact <var translate="no">PARTNER</var> if the issue persists. | This version of the error occurs for a few different reasons: - The Device Access project has been deactivated. - The OAuth 2.0 Client ID used in PCM does not match the one configured for the Device Access project. |
| ### To enable <var translate="no">PARTNER</var>, make sure you've migrated your Nest Account to Google. | This version of the error occurs when the user attempting account linking does not have a Nest account, or has not migrated that Nest account to a Google account. It may also occur if migration has been completed, but the Google account has no structures. A "Migrate to Google" URL is provided with this version of the error. |
| ### It looks like you need to be a little bit older before you can link to <var translate="no">PARTNER</var>. Talk to a parent for more information. | This version of the error occurs if the user attempts to link an account that does not meet the age requirements for managing their own Google account. These types of accounts cannot be used for Device Access. See [Age requirements on Google Accounts](https://support.google.com/accounts/answer/1350409) for more information. |

### No access to partner

| Message | Description |
|---|---|
| ### Information could not be retrieved. Please contact <var translate="no">PARTNER</var> to verify that your account has been properly set up. You may need to add the developer email address as a home member in the Google Home app settings. | This version of the error applies to the Device Access Sandbox and occurs when the Google account used with PCM is not an authorized account on the structure being linked. Make sure the Google account is a member of the home listed in the Google Home app. See [Share a home and devices in the Google Home app](https://support.google.com/googlenest/answer/9155535) for instructions on how to manage home members. |

### Can't find devices to link to *PARTNER*

| Message | Description |
|---|---|
| ### If your home has multiple members, the person who first set up the home must migrate their Nest Account to a Google Account before you can link to <var translate="no">PARTNER</var>. | This error occurs when the user attempting account linking has a Google account, but the manager of the home has a Nest account. The manager of the home must migrate that Nest account to a Google account to allow account linking. |

### Something went wrong, please try again in few minutes.

This error encompasses all other internal errors. Wait a few minutes before
attempting account linking again.

## Logged in account

These errors occur when viewing PCM for a Google account
that is logged in and may have already been linked to a Device Access
project.

### No partner connections found

| Message | Description |
|---|---|
| ### New partner connections will show up here. If you're trying to link other services, you can add them from the Home view in the Google Home app. | This error occurs when the user has not connected any partners for Device Access. |

### No home found

| Message | Description |
|---|---|
| ### You need to have a home to view partner connections. | This error occurs when the user has removed all structures from their home in the Google Home app. |

### Can't find devices in home

| Message | Description |
|---|---|
| ### Make sure that you have at least one device in your home. | This error occurs when the user has removed all devices supported with Device Access from their home in the Google Home app. |