Sync Logs – Happeo

Sync Logs

In this article, you can learn how to interpret Google Workspace user sync logs, what different error messages mean, and how to resolve issues.

Happeo provides automatic user sync from Google Workspace. This sync may sometimes experience errors, which may be temporary or longer-lasting. This article will help you to understand the most common problems and instruct how to fix them.

Google errors

Google errors are errors that originate from Google. They are usually caused by the sync admin not having permission to read specific user information from Google. Alternatively, they can be caused by Happeo being uninstalled accidentally for the domain.

Below is the list of example errors, reasons, and solutions.

UNAUTHORIZED

com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 UNAUTHORIZED { "code" : 401, "errors" : [ { "domain" : "global", "location" : "Authorization", "locationType" : "header", "message" : "Login Required", "reason" : "required" } ], "message" : "Login Required"}

Possible reasons

Solutions

FORBIDDEN - RESOURCE/API

com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 FORBIDDEN{ "code" : 403, "errors" : [ { "domain" : "global", "message" : "Not Authorized to access this resource/api", "reason" : "forbidden" } ], "message" : "Not Authorized to access this resource/api"}

Possible reasons

Solutions

FORBIDDEN - QUOTA

com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 FORBIDDEN{ "code" : 403, "errors" : [ { "domain" : "usageLimits", "message" : "Request rate higher than configured.", "reason" : "quotaExceeded" } ], "message" : "Request rate higher than configured."}

Possible reasons

Solutions

NOT_FOUND

com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 NOT_FOUND{ "code" : 404, "errors" : [ { "domain" : "global", "message" : "Resource Not Found: userKey", "reason" : "notFound" } ], "message" : "Resource Not Found: userKey"}

Possible reasons

Solutions

Internal errors

Internal errors are errors that originate in Happeo. These are usually caused by the user's primary email being converted into a group or vice versa. Alternatively, this can be caused by a deleted user being re-provisioned to the organization.

Below is the list of example errors, reasons, and solutions.

INTERNAL_TEMPORARY_ERROR

Possible reasons

Solutions

INTERNAL_CONFLICT_ERROR

Possible reasons

Solutions

UNKNOWN_ERROR

Possible reasons

Solutions