> ## Documentation Index
> Fetch the complete documentation index at: https://support.affinity.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Error 400 Admin Policy Enforced

> Help center reference: Google Error 400 Admin Policy Enforced

<Note>
  **Troubleshooting** — fix for a specific issue.
</Note>

If you are using a Google (Workspace) email account, you may run into these authorization errors below:

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/1.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=b716ce2f2d9c539f4fb3ec22a46ac566" alt="" width="1015" height="841" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/1.jpg" />

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/2.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=5c5dde02ffe79b50dc0e01d6a179ff24" style={{ width:"54%" }} width="1179" height="1443" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/2.jpg" />

## Why am I running into this error message?

Your company's Google Workplace admin may have placed additional security measures around all third-party applications.

To confirm if this is the underlying issue, follow these steps:

1. The Google Workspace admin will need to sign in at [https://admin.google.com](https://admin.google.com/).
2. Then, they must click the **Menu icon** > **Security > API Controls**.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/5.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=beaf736422e59540bf76cf3733a1db17" alt="" width="2990" height="1632" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/5.jpg" />

3. Finally, they must check to see if **Block all third-party API access** is enabled.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/4.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=dc80d5d0da6d89fc3924d009d85056e9" alt="" width="3029" height="1590" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/4.jpg" />

## How can the Google Workspace admin enable us to access Affinity?

1. The Google Workspace admin will need to sign in at [https://admin.google.com](https://admin.google.com/).
2. Then, they must click the **Menu icon** > **Security > API Controls**.
3. Click **Manage Third-Party App Access** on the right side.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/6.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=541a50047405ba81da53128b1d59082e" alt="" width="3054" height="1652" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/6.jpg" />

4. While on **Security** > **API Controls** > **App Access Control**, click on the **Apps** tab, then click **Configure new app**, and select **OAuth App Name Or Client ID**.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/7.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=041e84349f2cdff6a169744f468bab8a" alt="" width="3044" height="1656" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/7.jpg" />

5. On the search field, type in `58752958944-8q2v1e9blo1k93rl2gs3ncgmq7g1njhi.apps.googleusercontent.com`, then click **Search**. **Affinity** will appear as your search result, click **Select**.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/8.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=c51ff6d8bb5c4ba218bf7698d2d106e4" alt="" width="3042" height="1516" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/8.jpg" />

6. Click the **checkbox** matching the Client ID: `58752958944-8q2v1e9blo1k93rl2gs3ncgmq7g1njhi.apps.googleusercontent.com`, then click **Select**.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/9.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=15b1d6697c12de6119e73289b0da8e2d" alt="" width="3012" height="1636" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/9.jpg" />

7. Select **Trusted: Can access all Google Services**, then click **Configure**.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/10.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=fb9a74d173c63904c0b076c979d3b7bc" alt="" width="3024" height="1632" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/10.jpg" />

8. You should now be able to see **Affinity** under the **Apps** tab. Users should now be able to access Affinity.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/google-error-400-admin-policy-enforced/11.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=3ee3a7f1531adcfc77c6d1fe6121bc68" alt="" width="3016" height="1312" data-path="images/admin-security-privacy/google-error-400-admin-policy-enforced/11.jpg" />
