<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007k0sY8CAIOkta Classic EngineAuthenticationAnswered2023-11-10T22:03:01.000Z2022-06-23T12:43:35.000Z2022-06-24T15:38:47.000Z

NeelimaG.08245 (Customer) asked a question.

Getting error while trying to fetch user using client.gerUser() when user login contains following special chars ( \ / ; ? )

Getting "Okta Resource not found for user:xxxxxx" error while trying to fetch user using client.gerUser() when user login name contains following special chars ( \ / ; ? )

Is there any way to make it work?

Note: I can't use okta Id instead of login name.

Thanks!


  • Hi @NeelimaG.08245 (Customer)​ , Thank you for reaching out to the Okta Community!

     

    Not a lot of context here, but I'm assuming that you are leveraging the Okta JAVA SDK. 

    I checked the documentation and it states that the userID needs to be used for the request. 

    Pasted Graphichttps://github.com/okta/okta-sdk-java/blob/master/README.md

     

    When you say "Note: I can't use okta Id instead of login name." - do you mean that:

    • You used userID and it fails? 

    OR

    • You used something else besides the userID due to some constraints?

     

    If the latter, I'm not seeing any way around that.

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope it helps! 

    Expand Post
This question is closed.
Loading
Getting error while trying to fetch user using client.gerUser() when user login contains following special chars ( \ / ; ? )