You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
Home > Help & Troubleshooting > What to do if you're seeing an "Authorization Error" message when accessing a Gmail account within Shift
What to do if you're seeing an "Authorization Error" message when accessing a Gmail account within Shift
print icon

If you're seeing an "Error 400: policy_enforced" message when accessing one of your Gmail accounts within Shift, this is indicative that you need to adjust your email account's security settings, internally, at the administrative level. Keep reading for more information.



This particular error message is delivered when a Gmail account has had "Advanced Protection" enabled. When "Advanced Protection" is enabled within your Google account, non-Google apps and services are blocked by default from accessing your Google Drive and Gmail.


Google Support article on Advanced Protection, here.


The administrator of your Gmail account will need to manually grant Shift access to your Google data. 


Here's how to adjust your settings such that Shift is granted access under Advanced Protection:


  1. When receiving the "Authorization Error" screen, click on "Request Details" and take note of the "client_id" (which ends in - this is important for later in the process.
  2. Log in to the Google admin console (
  3. On the left sidebar menu, click on "Security", then "API Controls".
  4. On this page, under the "Overview" section, click on "MANAGE THIRD-PARTY APP ACCESS".
  5. On the next page, in the table called "Configured apps", click on "Add app" and select "OAuth App Name or Client ID"
  6. On the next page, type in "Shift" and click "SEARCH". Select "Shift" from the results list (make sure it's the one that has the Shift app icon on the left).
  7. You will be presented with a table that shows the Client ID of apps that have previously tried to access their accounts. Look at the "client_id" that you were asked to take note of in step one, select the one that matches, and click "SELECT" at the bottom of the screen.
  8. Go back into Shift, and hit Command + R (Mac) or Control + R (Windows) in that email account to clear the error.
  9. You will now be able to access that email within Shift.

What's next?

Find answers to other common questions and issues here.


Learn about using emails in Shift here.

scroll to top icon