P. Nordqvist Posted April 18, 2018 Posted April 18, 2018 Hi, Currently I am struggling updating assets using the goDBAssetImport from github. No matter what I do when I want to update the assets I always get the same error in the log file: [ERROR] Unable to Search for Customer [<nil>]: FlowCode Exception (com.hornbill.servicemanager/flowcode/fc_ops/shrGetCustomerDetails): nodeName: API Call: userProfileGet; nodeId: 3e1a9a7d-45ca-4e80-ae16-3a473865b996; At 182/1: "Uncaught EspMethodCall::invoke: Operation[session::userProfileGet] The value in element <userId> did not meet the required input pattern constraints. at location '/methodCall/params/userId'" throw(e); _fc_node_exec_3e1a9a7d_45ca_4e80_ae16_3a473865b996 [DEBUG] API XML: <params><customerId><nil></customerId><customerType>0</customerType></params> [ERROR] Unable to Search for Customer [<nil>]: FlowCode Exception (com.hornbill.servicemanager/flowcode/fc_ops/shrGetCustomerDetails): nodeName: API Call: userProfileGet; nodeId: 3e1a9a7d-45ca-4e80-ae16-3a473865b996; At 182/1: "Uncaught EspMethodCall::invoke: Operation[session::userProfileGet] The value in element <userId> did not meet the required input pattern constraints. at location '/methodCall/params/userId'" throw(e); Due to this the update is skipped. Any idea what this error message mean?
Steve Giller Posted April 18, 2018 Posted April 18, 2018 What are you importing from? Excel/CSV/Database etc? The import appears to be generating the XML of:<customerId><nil></customerId> i.e.<customerId><nil></customerId> which is not going to match - for no owner it needs to be<customerId></customerId> I can't say whether that's happening at the source or within the import, but it needs correcting.
P. Nordqvist Posted April 19, 2018 Author Posted April 19, 2018 Hi, Forget my query. I had removed the h_used_by and h_owned_by from the json file which obviously was not a good idea Thanks anyway for your reply.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now