Duo AUTH api error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2019 02:27 PM
Using the java client for auth api, I have enrolled a user and verified that the user exists. Then I hit the endpoint /auth/v2/enroll_status. I’m getting an error message:
“code”: 40002, “message”: “Invalid request parameters”, “message_detail”: “user_id”, “stat”: “FAIL”}
Although that use_id exists in duo.
Any idea on what is going on?
- Labels:
-
Auth APIs

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2019 08:23 AM
Did you specify the right activation_code
in the request along with the user_id
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2019 08:51 AM
the issue is not resolved. I provided the right activation code but was mentioning username instead of user_id. Just want to know if there is any way from admin SDK to know the user_id?
Thanks for your reply.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2019 10:55 AM
The user_id
for the new user was returned in the output of /auth/v2/enroll
along with the activation_code
.
