User Profile Schema update API is not working


#1

Hello, I am playing with Oktra API to update User Profile Schema for our organization but it seems the provided request sample is not working. Here is the error I am getting:

OktaException(key=OktaUserMeta#addUserProfileJsonSchemaProperty(String), oktaHeaders=OktaResponseHeaders(requestId=W@SJopq-rxMQ-CnmNNomjgAAAjc, rateLimit=OktaResponseHeaders.RateLimit(limit=1000, remaining=999, reset=Thu Nov 08 13:09:18 CST 2018), oktaBackend=op1-apiapp06e.aue1s.internal, linkMap={}), status=400, reason=Bad Request, response={"errorCode":"E0000003","errorSummary":"The request body was not well-formed.","errorLink":"E0000003","errorId":"oaelDwcXZDjQSOiFK4H2hj9dQ","errorCauses":[]})

I am trying to execute this request:
https://developer.okta.com/docs/api/resources/schemas#request-example-1