4 Replies Latest reply on Feb 8, 2017 8:57 AM by Raj Vachhani

    "Method Not Allowed" when updating a person

    dpuscau

      Hi,

       

      In my jive instance person username is like this exampleatmdsol.com@localhost and the email is like this example@mdsol.com.

       

      I'm taking data for email acarascoatmdsol.com@localhost from Jive API with this request:

       

      https://example.jiveon.com/api/core/v3/people/email/acarascoatmdsol.com@localhost"

       

      I'm trying in 2 ways to update the person:

       

      1.  I'm editing the Job Title in the data received from the request before, and I'm sending a request to update person data in API,

       

      https://example.jiveon.com/api/core/v3/people/3477

       

      And I got this error:

      { error:

            { message: 'Invalid username acarasco@mdsol.com: must match email acarascoatmdsol.com@localhost',

              status: 400 } } }

       

      2. I'm editing the Job Title in the data received from the request before, and I'm sending a request the way I'm retrieving the data:

       

      https://example.jiveon.com/api/core/v3/people/email/acarascoatmdsol.com@localhost"

      or

      https://example.jiveon.com/api/core/v3/people/username/acarasco@mdsol.com"

       

      I got the Message:

       

      statusCode: 405,  statusMessage: 'Method Not Allowed',

       

       

      What can be the problem, that I'm not allowed to edit?