More details regarding the problem
1) json used to create a person which results in not creating a person.If I remove the value of customAttribute variable(i.e. "customAttributes": []) then person is created successfully
{
"schemas": [
"urn:scim:schemas:core:1.0"
],
"id": "@!D815.81A4.5EA2.0FC2!0001!0799.C4C5!0000!5CCC.61EA",
"externalId": "scimjohn ",
"userName": "john ",
"name": {
"givenName": "John",
"familyName": "Smith",
"middleName": "N/A",
"honorificPrefix": "N/A",
"honorificSuffix": "N/A"
},
"displayName": "John Smith",
"nickName": "Sensei",
"profileUrl": "http://www.gluu.org/",
"emails": [
{
"value": "john @gluu.org",
"type": "work",
"primary": "true"
},
{
"value": "john 2@gluu.org",
"type": "home",
"primary": "false"
}
],
"addresses": [
{
"type": "work",
"streetAddress": "621 East 6th Street Suite 200",
"locality": "Austin",
"region": "TX",
"postalCode": "78701",
"country": "US",
"formatted": "621 East 6th Street Suite 200 Austin , TX 78701 US",
"primary": "true"
}
],
"phoneNumbers": [
{
"value": "646-234-5678",
"type": "work"
}
],
"ims": [
{
"value": "nynyjohn ",
"type": "Skype"
}
],
"photos": [
{
"value": "http://www.gluu.org/wp-content/themes/SaaS-II/images/logo.png",
"type": "gluu photo"
}
],
"userType": "CEO",
"title": "CEO",
"preferredLanguage": "en-us",
"locale": "en_US",
"timezone": "America/Chicago",
"active": "true",
"password": "Hidden for Privacy Reasons",
"groups": [],
"roles": [],
"entitlements": [],
"x509Certificates": [],
"meta": {
"created": "",
"lastModified": "",
"version": "",
"location": ""
},
"customAttributes": [{"name":"CompanyName","values":["some nonsense company"]}]
}