Password requirement policy error code

Hi,

I noticed an error in the API page when handling the error codes to display the password requirements policy on a failed attempt.

For this API call (Authentication | Okta Developer), it says the expected error code when not respecting the password requirement is E0000014. However, when testing, it appears that E0000080 is returned (“Password policy violation exception is returned” according to Okta API Error Codes | Okta Developer).

I tagged this topic as question since it’s API documentation, let me know if I should have tagged it as bug.