<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
0D50Z00008G7UsySAFOkta Classic EngineIntegrationsAnswered2024-04-13T00:48:57.000Z2016-07-08T02:05:24.000Z2020-12-21T20:21:14.000Z
Get specific group via API causes internal server error

When I request from browser (Chrome):​https://{mysite}.okta.com/api/v1/groups/00g6k292eanuQY8Hw0h7

 

Returns:

{"errorCode":"E0000009","errorSummary":"Internal Server Error","errorLink":"E0000009","errorId":"oaeKZDdDiRoSl2XR8tCJ42qDQ","errorCauses":[]}

 

When I use POSTMAN client and request same API, it returns correct data. What is difference between those? 

 


  • Hi Testuro

    The difference is:

    POSTMAN sends headers including the SSWS token, content-type = JSON, etc.

    Chrome doesn't provide that information and that would cause the "internal server error" you're seeing.

     

    Thanks.

    Expand Post
    Selected as Best
  • Hi Testuro

    The difference is:

    POSTMAN sends headers including the SSWS token, content-type = JSON, etc.

    Chrome doesn't provide that information and that would cause the "internal server error" you're seeing.

     

    Thanks.

    Expand Post
    Selected as Best
  • 1fj3q (1fj3q)

    Unfortunately, for me it's not returning the result with Postman too. There isn't enough information to trouble shoot at our end.

  • 1fj3q (1fj3q)

    Yes, It works for most of the users but errors out for some users in Preview and PROD. We are trying to use user group (/api/v1/users/{{userId}}/groups) API Call. The APi key is created under Group or Group Membership Admin. It works though for all user with SuperAdmin API key.

This question is closed.
Loading
Get specific group via API causes internal server error