
User17226730647577191503 (Customer) asked a question.
Hi
I am trying to access the Okta endpoint "GET api/v1/groups/<groupID>/users?limit=10000" from simple java program.
But it throwing an below error with 405 error code.
HTTP Error code : 405, Okta Error code : E0000022, errorSummary : The endpoint does not support the provided HTTP method, errorCauses:[]
Could you please share your thoughts can be reason for throwing this type of error. it was working earlier and suddenly stopped working.

Hello @User17226730647577191503 (Customer) Thank you for posting on our Community page!
The query you are using is not correct, the limit needs to be 200, as per our documentation "The maximum value for limit is 200 for most orgs."
https://developer.okta.com/docs/reference/api/groups/#list-groups-with-defaults
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.