SMS enroll usking Okta api returns below error

  1. errorCauses:
  2. errorCode: “E0000007”
  3. errorId: “oaesN1kLrJdSPGT5kl-7TKDJQ”
  4. errorLink: “E0000007”
  5. errorSummary: “Not found: Resource not found: undefined (User)”

payload:

  1. factorType: “sms”
  2. phoneNumber: “+14023055046”
  3. provider: “OKTA”

Which API endpoint is this for?

Is it this one? Did you provide a user_id in the request url?
https://developer.okta.com/docs/reference/api/factors/#enroll-okta-sms-factor

1 Like