For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
DeveloperAcademyCommunityStatus
  • Getting Started
    • Welcome to Moveworks
    • Roadmap & Release Notes
    • Moveworks Best Practices
    • Labs
    • Professional Services
    • Support
  • AI Assistant
    • AI Assistant Overview
    • Capabilities
    • Web Experiences
    • Analytics & Performance
  • Enterprise Search
    • Overview
    • Agentic RAG Overview
    • Content Ingestion Platform
    • Profile Boosting
    • Retrieval
    • Permissions Platform
    • Built-in Content Connectors
    • Build your own Content Connectors
    • Configure Search
      • File Ingestion
        • File Search FAQ
        • How to Configure ServiceNow File Ingestion
        • How to Configure Google Drive File Search
        • Troubleshooting File Ingestion From Google Drive
      • Internal Knowledge Ingestion
      • Moveworks FAQ (Google Sheets Integration)
      • Indexed Content
      • Configure Search Plugin Settings
      • Content / Search Troubleshooting Guide
    • Configure Enterprise Search
    • Vetted Content
    • Writing AI-Ready KB Articles
    • Document Chunking and Snippetization Overview
  • Productivity Boost
    • Overview
    • Configure Productivity Boost
    • Quick GPT
    • Calendar Management
    • Brief Me
DeveloperAcademyCommunityStatus
On this page
  • 401 “The caller does not have permission” Error Authorizing a Google Drive Connection in Workflows
  • Cause
  • Solution
  • In the Google Admin Console:
Enterprise SearchConfigure SearchFile Ingestion

Troubleshooting File Ingestion From Google Drive

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Internal Knowledge Ingestion

Next
Built with

401 “The caller does not have permission” Error Authorizing a Google Drive Connection in Workflows

{
"error": {
"code": 401,
"message": "The caller does not have permission",
"errors": [
{
"message": "Active session is invalid. Error code: 4",
"domain": "global",
"reason": "authError",
"location": "Authorization",
"locationType": "header"
},
{
"message": "Active session is invalid. Error code: 4",
"domain": "global",
"reason": "authError",
"location": "Authorization",
"locationType": "header"
}
],
"status": "PERMISSION_DENIED"
}
}

Cause

This error can occur if the Google Drive and Docs Service is turned off for the Google Workspace service user used for file ingestion.

Solution

In the Google Admin Console:

  1. Navigate to Apps > Google Workspace > Drive and Docs.
  2. Click on Service status.
  3. Check to see if the service is disabled for the service user.
    1. Note that the service can be turned on/off for all users or specific users based on Groups or Organizational Units.
    2. Ensure the service is enabled for the user and attempt to reauthorize the connection.
    3. If the OU the service user is a member of does not have the Drive and Docs service enabled, you may need to add the service user to a Google Security Group that should overrides those OU settings.