Symptom
The api call to registerOrganization may fail with IllegalArgumentException if the organization's fields have multiple white spaces in the value.
API:
https://accounts.eu1.gigya.com/accounts.b2b.registerOrganization?apiKey={{apiKey}}&userKey={{userKey}}&secret={{secret}}&organization={"BPID":"BPID123","description":"Postman Company Description","name":"Postman Company","type":"customer","street_address":"Sluisweg 2","zip_code":"9000","city":"XYZ","state":"Oost","country":"be"}&status=approved
Error mesage:
"errorDetails": "{\"success\":false,\"error\":{\"errorCode\":400,\"field\":\"fields\",\"errorMessage\":\"{\\\"code\\\":\\\"C-001\\\",\\\"id\\\":\\\"OTXEFD\\\",\\\"status\\\":500,\\\"name\\\":\\\"IllegalArgumentException\\\",\\\"message\\\":\\\"Malicious script detected in field: street_address\\\"}\"}}",
Read more...
Environment
- SAP Customer Data Cloud
- B2B Organization Management
Product
Keywords
CIAM for b2b, registerOrganization, Gigya , KBA , CEC-PRO , SAP Customer Data Cloud - Identity, - Consent, - Profile , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.