This guide applies to the following Google Analytics error:
USER_PERMISSION_DENIED: user xxxxxxxxxx doesn't have permissions for view <ID code of view>.
This error generally means that the Google user logged into Google Analytics either has an expired authentication token or has lost permissions to the view in Google Analytics. First try re-authenticating the data source:
If the error persists after refreshing the authentication, the Google Analytics user may no longer have access to the given view (the ID at the end of the error message is the ID of the view). Check with your administrator to make sure the user has permissions to access that view/property. If the view is no longer accessable on purpose, de-select the view/remove it from the query to clear the error.