Coupa Connector Provisioning Issue

Which IIQ version are you inquiring about?

Version 8.3

Share all details related to your problem, including any error messages you may have received.

Hi Everyone,
I am leveraging coupa connector ( Identity IQ 8.3P3 ) for provisiong , deprovisiong, account aggregation and group aggregation etc. While provisiioning the account my app team has requirement to pass “default-account-type” attribute as well.
I am able to aggregate default-account-type in account aggregation an data is coming in {id=2, name=PLL} format.

While provisioning if I am passing default-account-type I am getting 400 error. Without default-account-type provisioning is working fine account is getting created.

TE_USER:: HTTP Failure status code :: 400 :: HTTP failure message :: {"errors":{"user":["An unexpected error occured while creating/updating this record: NoMethodError -- undefined method `only' for \"29\":String\n\n      find_by_attributes = assoc_attributes.only(*unique_keys)\n                                           ^^^^^"],"warnings":null}}
2024-04-30T14:41:46,737 ERROR https-jsse-nio-8443-exec-6 connector.coupa.service.CoupaService:94 - Create operation failed with exception : Failed to process the request for operation :: CREATE_USER :: Aggregated Errors after total retries of :: 1 Current attempt to execute request failed for operation :CREATE_USER:: HTTP Failure status code :: 400 :: HTTP failure message :: {"errors":{"user":["An unexpected error occured while creating/updating this record: NoMethodError -- undefined method `only' for \"29\":String\n\n      find_by_attributes = assoc_attributes.only(*unique_keys)\n                                           ^^^^^"],"warnings":null}}
java.lang.Exception: Failed to process the request for operation :: CREATE_USER :: Aggregated Errors after total retries of :: 1 Current attempt to execute request failed for operation :CREATE_USER:: HTTP Failure status code :: 400 :: HTTP failure message :: {"errors":{"user":["An unexpected error occured while creating/updating this record: NoMethodError -- undefined method `only' for \"29\":String\n\n      find_by_attributes = assoc_attributes.only(*unique_keys)\n

I have tried lots of combination, by just passing id ( as integer), name ( as STring) and below options as well in the string format. But nothing is helping:

<id type="integer">7</id>
<id type="integer">7</id>
{id=2, name=PHL}
{"id":"2", "name":"PHL"}
{"id":2}
{"id":2, "name":"PHL"}
{\n   \"id\": 2\n    }

Please help to assist on the issue.

Hi @saloniGupta ,

I researched about your issue its related to the “only” method as the assoc_attributes expects an array or hash not a string or integer.

maybe try with:

{"id":["2"], "name":["PHL"]}

or similar combinations

3 Likes

Thanks for your response, while here the issue is sailpoint is passing the value as string. It doesnt matter what do we put as value.

While the expectation from the API is to pass it as json. But here there no option to pass the value as json.

Please suggest further if you have anything in mind.

@saloniGupta ,

It would help if I could take a look at the Create account provisioning policy you are using (also the provisioning rule if any)

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.