mbegan / Okta-PSModule

Okta API Powershell Wrapper Module
Other
102 stars 31 forks source link

Receiving received -1-byte response of content type application/json;charset=UTF-8 #46

Open talessi opened 4 years ago

talessi commented 4 years ago

It seems whenever I try to enumerate a large number of users I get

received -1-byte response of content type application/json;charset=UTF-8

For example, I get it if I try oktalistusers (I have >9,000 users in this particular tenant) I get the above response. If I enumerate users of a small group, it works fine. If I try to enumerate a group that contains thousands of users, for example, I get the above response. I've tried setting my pageSize all the way up to 9999 and still get the above response.

Not sure what I'm missing here.

Thanks for any help!