Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Organization import from API

barbaste
New Contributor II
New Contributor II

We created an Organization object: OBJA from Savyint API. The object is correctly created and we can see it and modify it with the User Interface. Everything seems OK.

No custom organization validation class is configured

With User interface:

We also create 2 Organisations: OBJB and OBJC.

When you try to choose OBJB as a parent organization of OBJC, Everything is OK.

When you try to choose OBJA as a parent organization of OBJC or OBJB, we have the error.

Error:

popup message : 'error occured'

xxx/ECM/customer/customValidate url return code 500

trace log: NullPointerException

{"log":"\u0009at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69)\n","stream":"stdout","time":"2022-10-18T13:41:10.0362544Z"}
2022-10-18, 03:41 pm
ecm
{"log":"\u0009at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)\n","stream":"stdout","time":"2022-10-18T13:41:10.036256817Z"}
2022-10-18, 03:41 pm
ecm
{"log":"\u0009at java.lang.Thread.run(Thread.java:750)\n","stream":"stdout","time":"2022-10-18T13:41:10.036259051Z"}
2022-10-18, 03:41 pm
ecm
{"log":"Caused by: java.lang.NullPointerException\n","stream":"stdout","time":"2022-10-18T13:41:10.036261265Z"}
2022-10-18, 03:41 pm
ecm
{"log":"2022-10-18 13:41:09,947 [http-nio-8080-exec-67] ERROR errors.GrailsExceptionResolver - NullPointerException occurred when processing request: [POST] /ECM/customer/customValidate\n","stream":"stdout","time":"2022-10-18T13:41:09.947330422Z"}
2022-10-18, 03:41 pm
ecm
{"log":"Stacktrace follows:\n","stream":"stdout","time":"2022-10-18T13:41:09.947363442Z"}
2022-10-18, 03:41 pm
ecm
{"log":"java.lang.NullPointerException\n","stream":"stdout","time":"2022-10-18T13:41:09.947367879Z"}
 
Could you help me
Thanks
3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Are you able to map from UI ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

barbaste
New Contributor II
New Contributor II

We cannot map the OBJA (created by API) as parent organization from UI, but we can map another organization as parent organization of OBJA.

If its not feasible from Ui then it won’t allow from api too


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.