
Seanf.16496 (Customer) asked a question.
I've recently added an OU on Google Workspace for my employees and tried to manually import, which caused this error. Sadly, I cannot contact Okta Support because we are on a Google Workspace trial. Does anyone know how to fix this error? I've been reauthenticating, and it still doesn't work.
Error:
An error occurred during import
Failed to download users. Error setting AppUserProperty error=[Field error in object 'GoogleAppBaseProfile' on field 'orgUnitPath': rejected value [null]; codes [notOneOf.GoogleAppBaseProfile.orgUnitPath,notOneOf.orgUnitPath,notOneOf.com.saasure.application.google.db.dto.GoogleOrganizationUnit,notOneOf]; arguments []; default message [Invalid data value for REFERENCE 'orgUnitPath' (type=GoogleOrganizationUnit): '/Employees']]

Hello @Seanf.16496 (Customer) Thank you for posting on our Community page!
There could be a few things that could cause this issue:
Error setting AppUserProperty: This means Okta was trying to populate a specific user attribute (property) within its system based on the data received from Google Workspace, but it failed.
For this I would recommend these 2 articles:
https://support.okta.com/help/s/article/the-impact-of-refresh-app-data-on-endpoint-usage?language=en_US
https://support.okta.com/help/s/article/google-workspace-import-error-com-sun-jersey-api-client-uniforminterfaceexception-client-response-status-400?language=en_US
Field error in object 'GoogleAppBaseProfile' on field 'orgUnitPath': This pinpoints the exact attribute causing the problem. orgUnitPath is a field that represents the organizational unit (OU) of the user within your Google Workspace directory structure.
rejected value [null]: This is the core of the issue. Okta received a null value for the orgUnitPath for one or more users and it was not expecting or allowing a null value for this field.
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Collect them all. Learn a new skill and earn a new Okta Learning badge.
Thanks for your answer but this still doesnt work.
Hello @Seanf.16496 (Customer) Have you reviewed the System log and see if there are any additional details for the failure?
The error seems to be very specific and I would recommend to review the attributes in question on google side.
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Collect them all. Learn a new skill and earn a new Okta Learning badge.
FAILURE: Error setting AppUserProperty error=[Field error in object 'GoogleAppBaseProfile' on field 'orgUnitPath': rejected value [null]; codes [notOneOf.GoogleAppBaseProfile.orgUnitPath,notOneOf.orgUnitPath,notOneOf.com.saasure.application.google.db.dto.GoogleOrganizationUnit,notOneOf]; arguments []; default message [Invalid data value for REFERENCE 'orgUnitPath' (type=GoogleOrganizationUnit): '/Employees']]
It does show that the import started & Download object phase started was successful but then it errors.