Error from api/v1/authn API endpoint

Upon calling API endpoint for primary authentication, api/v1/authn below is the error response -

{
“errorCode”: “E0000079”,
“errorSummary”: “This operation is not allowed in the current authentication state.”,
“errorLink”: “E0000079”,
“errorId”: “oaed3H-u9g9SyKa8JtNqsvdUQ”,
“errorCauses”: [
{
“errorSummary”: “This operation is not allowed in the current authentication state.”
}
]
}

Can someone help to troubleshoot this error?

Hi @rrk

What is the current status of the user in Okta? You can get it easily by accessing /api/v1/users/user@domain.com endpoint.