Skip to main content

Troubleshooting Dataplex connection and authentication issues

Resolve common connection and authentication issues when connecting Atlan to Google Cloud Dataplex.

Service account key invalid

Error

Invalid service account key or Authentication failed

Cause

The service account key file is invalid, corrupted, deleted, or rotated in Google Cloud Console.

Solution

  1. Verify the service account key file is valid JSON:

    cat <key-file-path> | jq .
  2. Verify the service account key exists and check if it was rotated in Google Cloud Console.

  3. Regenerate the service account key if needed:

    • Navigate to IAM & AdminService Accounts in Google Cloud Console
    • Select your service account
    • Go to Keys tab
    • Create a new key and update it in Atlan

Service account lacks required permissions

Error

Permission denied or Insufficient permissions

Cause

The service account doesn't have the required Dataplex permissions or the custom role assignment is incorrect.

Solution

  1. Verify the service account has the custom role assigned:

    • Check IAM & AdminIAM in Google Cloud Console
    • Confirm the service account email has the custom role attached
  2. Verify the custom role includes all required permissions:

    • Check IAM & AdminRoles in Google Cloud Console
    • Review the custom role permissions
    • Add any missing permissions from the setup guide
  3. Verify the service account has access to the specific Dataplex catalog resources (entry groups, entries) you're trying to crawl.


Dataplex API not enabled

Error

API not enabled or Service unavailable

Cause

The Dataplex API isn't enabled in your Google Cloud project.

Solution

  1. Enable the Dataplex API in your Google Cloud project:

    • Navigate to APIs & ServicesLibrary in Google Cloud Console
    • Search for "Dataplex API"
    • Click Enable
  2. Wait a few minutes for the API to fully activate before retrying the connection.


Invalid project ID

Error

Project not found or Invalid project ID

Cause

The project ID is incorrect or the service account belongs to a different project.

Solution

  1. Verify the project ID is correct:

    • Check the project ID in Google Cloud Console
    • Check for typos or extra spaces
  2. Verify the service account belongs to the same project:

    • Check the service account email format: [email protected]
    • Verify the project ID matches

Network connectivity issues

Error

Connection timeout or Network error

Cause

Network connectivity issues between Atlan and Google Cloud, or Google Cloud service outages.

Solution

  1. Verify network connectivity from Atlan to Google Cloud:

    • Check firewall rules if using VPC
    • Verify outbound HTTPS (443) is allowed
  2. Verify Google Cloud service status:


Preflight checks fail but connection works

Error

Preflight check validation failed with specific validation errors

Cause

Manual connection test succeeds but preflight checks fail. This indicates validation issues with API accessibility, authentication, or permissions.

Solution

  1. Review the specific preflight check error message:

    • Connection validation: Check network and API enablement
    • Authentication: Verify service account key
    • Permissions: Verify IAM roles and permissions
  2. Run preflight checks again after addressing the specific issue.


See also

Need help

If you need assistance after trying the steps, contact Atlan support: Submit a request.