I’m constantly getting the following error when trying to create a NetSuite account:
sailpoint.connector.ConnectorException: [ ConnectorException ] [ Error details ] The server encountered an unexpected error while contacting target system. Please check the logs.An object named 'Exception occurred in setEmployee USER_ERROR:Please enter value(s) for: Employee location, Type' was not found.
I tried with several attributes technical names and values in the account profile creation but no one works. The following are some examples:
Type, TYPE, employeeType, employeetype, type … with values: 5, Intern
custentitycustentity_xyz_employee_lo, location, Location .. with values: Berlin, 5
The “Employee Location” is configured as following:
I have little experience with this specific connector, but have run into the issue where it’s not very well documented which attributes are available or how to set them.
As previously mentioned, I also tried with other technical attribute names by updating the source with /v3/sources/sourceID/provisioning-policies/CREATE
These seem like mapped values to make it ‘human readable’, but are really something else.
Is there a way to obtain the raw SOAP response? Then you could use that to determine what / how to send the information. Oracle Documentation is horrible I see (as usual) and documentation on the SailPoint side doesn’t help much either.
I’m not allowed to perform SOAP requests. I asked Oracle support to help me on it.
In the meantime, could you please confirm if there is another action to perform other than adding the custom attribute to the account schema.
Indeed, in the SailPoint doc Custom Attributes, it has been mentioned to add the customAttribute to the source. Is it the same thing ? Are they talking about the configuration of “Additional Attribute Mapping” of the CustomAttribute to the Schema Attribute ?
I’m now able to get values for the location and employee type. However, I’m still getting same error for provisioning by pushing values (i.e Nicosia/Full time) or internalIds (i.e 3 / 6).
The following is how attributes are defined in POST request creating the record in NS:
Can you please provide account schema for this connector? I like to understand how these 2 attributes are defined in account schema (assuming you have no issue retrieving these 2 attributes from NetSuite on aggregation.
That looks correct to me. Can you please send me screenshot for “Create Account” screen in IdentityNow source page (assuming you trying as static values for now)
I have played around in NetSuite app and was able to recreate your original error message( Exception occurred in setEmployee USER_ERROR:TypeError: ..) - when I remove edit permission to employee record. Try checking with whoever supports NetSuite in your org to make sure you have edit permissions on employee records.
Hello @fatimahm Are you able to resolve the issue? I am facing similar issue where I am able to read addition attributes but provisioning not working for them.
@ralph-mishiev Thank you so much for your help. Indeed, “Edit” level has already been there, both for “Employee” and “Employee record”. I requested to update it to “Full” as recommanded by SP doc. I couldn’t check it by myself since I hadn’t access to this part.I hope this will solve the issue.
@poojapal0204 I’ll keep you updated regarding the above. Do not hesitate to check also the permission levels
Thanks @fatimahm I am able to read those additional attributes but they are just not getting added to SOAP request. We do have all the required permissions set.