
YixiaoT.60894 (Customer) asked a question.
Hi, our team are developing a service to get the users and groups info from the Okta API by okta-sdk-nodejs. We encountered a problem during the development. When we sent a request for one specific user through /api/v1/users/{{userId}}/groups API, the oktaClient.http.http() didn't reply until timeout. No error message threw and only happened on that user. After step-by-step debugging, we found that the https request returned successfully, and the problem occurred in the default cacheMiddlewar. setting cacheMiddleware to null in the oktacClient can fix this bug.
Although the bug is currently fixed, we hope to know the root reason of the bug. We guess the issue is related to response size. The user has more than 40 groups, maybe the oversized response caused this problem.

Hi Yixiao,
You may be able to get more information on this by contacting developers@okta.com.
Hope this helps!
Tim