oktadev / okta-node-express-example

A simple sample application built using Node and Express that contains user login, registration, and password reset functionality.
Apache License 2.0
17 stars 14 forks source link

403 Error: Operation failed because user profile is mastered under another system #4

Closed maneeshsahu closed 5 years ago

maneeshsahu commented 5 years ago

I have my Okta org managed by Active Directory, I am using the Okta APIs to update user information. I get this error however:

{ [OktaApiError: Okta HTTP 403 E0000023 Operation failed because user profile is mastered under another system. ]
  name: 'OktaApiError',
  status: 403,
  errorCode: 'E0000023',
  errorSummary:
   'Operation failed because user profile is mastered under another system',
  errorCauses: [],
  errorLink: 'E0000023',
  errorId: 'oaejJUXn0QUSOyBpjTDSy2JtQ',
  url:
   'https://complementlabs.okta.com/api/v1/users/00ub8zg78TAWZJ6SA356',
  headers:
   Headers {
     _headers:
      { date: [Array],
        server: [Array],
        'public-key-pins-report-only': [Array],
        'content-type': [Array],
        vary: [Array],
        'x-okta-request-id': [Array],
        p3p: [Array],
        'x-rate-limit-limit': [Array],
        'x-rate-limit-remaining': [Array],
        'x-rate-limit-reset': [Array],
        'cache-control': [Array],
        pragma: [Array],
        expires: [Array],
        'x-content-type-options': [Array],
        'content-encoding': [Array],
        'set-cookie': [Array],
        connection: [Array],
        'transfer-encoding': [Array] } },
  message:
   'Okta HTTP 403 E0000023 Operation failed because user profile is mastered under another system. ' }
rdegges commented 5 years ago

Can you please explain what is raising this error? It sounds like the issue you're running into is that you're trying to modify a user's profile that is stored somewhere else (e.g., Active Directory). Is that the case?