During a file migration from Google Drive, the migration or preprocessing fails with the following error message:
Error:”unauthorized_client”, Description:”Unauthorized client or scope in request.”, Uri:”


The Google service account used for the migration does not have permission to access the user’s Google Drive.


Follow this post to set the permissions correctly:
Make sure you add all the necessary scopes to set the permissions.