<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
0D51Y00007UnSpDSAVOkta Classic EngineAdministrationAnswered2024-04-15T09:30:27.000Z2020-01-08T22:39:23.000Z2020-03-13T23:11:55.000Z

ScottI.43803 (Customer) asked a question.

Bug - Super admin SSWS token getting 401 for api/v1/mappings API endpoint

Hello,

 

When i try to hit /api/v1/mappings, i am getting a 401 response. The SSWS token i am using was created by a user that has Super Admin privileges. When i log into the console web app as that user, I can manage profile mappings.

 

Request:

```

curl --location --request GET 'https://{okta domain}/api/v1/mappings' \

--header 'Authorization: SSWS xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \

--header 'Content-Type: application/json' \

--header 'Accept: application/json' \

--data-raw ''

```

 

Response:

```

{

    "errorCode": "E0000015",

    "errorSummary": "You do not have permission to access the feature you are requesting",

    "errorLink": "E0000015",

    "errorId": "oaeaPt1Ji6NSTaa-l2R6x0aQQ",

    "errorCauses": []

}

 

```

scott.irvin@sonos.com


  • bc221 (bc221)

    Are you using the developer account to run API? Developer Org doesn’t have the all features set. You can open support ticket to troubleshoot this error.

     

    FYI /api/v1/mappings API is working for me.

     

    Selected as Best
  • bc221 (bc221)

    Are you using the developer account to run API? Developer Org doesn’t have the all features set. You can open support ticket to troubleshoot this error.

     

    FYI /api/v1/mappings API is working for me.

     

    Selected as Best
  • JoelF.28673 (Customer)

    For what it's worth, the feature flag that you'll need to have enabled in your developer account is: MAPPINGS_API

This question is closed.
Loading
Bug - Super admin SSWS token getting 401 for api/v1/mappings API endpoint