6 Replies Latest reply on Jun 1, 2017 10:34 AM by ryanrutan

    REST api not accepting french characters

    gopi.gorantala

      Hello,

       

      I am working on creating, updating, deactivating users from a data source through REST api.

       

      P.S my code creates users and updates users with no exception,  problem appears if a user have having some french characters in one of his profile fields when tried to sync..

       

      I'm getting an exception when trying to update a user who is having some french characters(ex: Job Title etc ) through Jive REST API.  I tried to normalise my input using Normalizer(java.text library) but still I get the below error, I have see few discussions that its a Jive bug, Is that resolved ? any other way to update JiveUser(who has french characters ) ?

       

      Ryan Rutan Rashed Talukder Matt Collinge, Scott A Johnson   -  any clue ?

       

       

      >>>>>>>>>>>>>>>>>>>>>>  JiveValue [[JobTitle]] will change from [Administrative Assistant] to [Chef de la section "AmÚnagement des locaux"] for jive-username [[xxxxxxxx]]    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

       

       

       

      Attempt: 1 Not updated in Jive user with username : xxxxxxxx

      Error: {

        "code" : 400,

        "message" : "Unexpected character ('A' (code 65)): was expecting comma to separate OBJECT entries\n at [Source: org.apache.cxf.transport.http.AbstractHTTPDestination$1@341c00fd; line: 1, column: 196]"

      }

       

       

       

      -Gopi.