I am trying to use the /beta/transforms api to upload a custom transform to client tenant.
POST response is successful 201 with transform as the body. GET transforms is returning the complete list of transforms I have posted.
The problem is when I go into the mapping for an identity profile the drop down list of transforms is still the default. At this point I have tested with simple transforms: lower, padding; and complex transforms. Both with type as identityAttribute and accountAttribute.
Could someone help me determine why I am unable to view or use the transforms I am posting?
I can provide specific transform examples and identity profile/source data as needed.
Thank you for posting this question. We will have an engineer take a look at this issue first thing in the morning and get back to you with an answer as soon as possible.
"msg_template": "No such property: name for class: com.cloudmasons.ApiTransformCreateCommand\nPossible solutions: type",
"slpt_error_code": "SLPT-1005",
"formatted_msg": "(SLPT-1005) No such property: name for class: com.cloudmasons.ApiTransformCreateCommand\nPossible solutions: type",
"exception_id": "17888AFE96F",
"error_code": 1005,
"exception_class": "groovy.lang.MissingPropertyException",
"exception_detail": {
"file": "ApiTransformController.groovy",
"method": "create",
"line_number": 72,
"class": "com.cloudmasons.ApiTransformController"
},
"http_response_code": 500,
"timestamp": "2021-03-31 14:28:53.231",
"exception_message": "No such property: name for class: com.cloudmasons.ApiTransformCreateCommand\nPossible solutions: type"
Sorry, I should have stated I tested that as well. Here is the response from running the same API call to https://{client}.identitynow.com/cc/api/transform/create
{
"msg_template": "No such property: name for class: com.cloudmasons.ApiTransformCreateCommand\nPossible solutions: type",
"slpt_error_code": "SLPT-1005",
"formatted_msg": "(SLPT-1005) No such property: name for class: com.cloudmasons.ApiTransformCreateCommand\nPossible solutions: type",
"exception_id": "1788946F675",
"error_code": 1005,
"exception_class": "groovy.lang.MissingPropertyException",
"exception_detail": {
"file": "ApiTransformController.groovy",
"method": "create",
"line_number": 72,
"class": "com.cloudmasons.ApiTransformController"
},
"http_response_code": 500,
"timestamp": "2021-03-31 17:13:52.501",
"exception_message": "No such property: name for class: com.cloudmasons.ApiTransformCreateCommand\nPossible solutions: type"
For transforms, the older /cc/api/ the “id” is essentially a plain-text name. Older /cc/api REST APIs are not very consistent.
In newer, v3 standards, “id” is a GUID and “name” is a plain-text name, which is very consistent. While this may cause confusion for moving from older to newer transforms, it should be more consistent going forward on v3+ APIs!