<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
0D54z00009xQ6LsCAKOkta Classic EngineAdministrationAnswered2024-01-23T16:48:50.000Z2024-01-17T19:50:35.000Z2024-01-23T16:48:50.000Z

AdrianD.97479 (Customer) asked a question.

Cannot create apps from Okta CLI - 401 E0000015

I am following the Ktor Okta tutorial (https://developer.okta.com/blog/2020/10/19/ktor-kotlin*secure-your-ktor-application-with-okta) and am setting up the CLI. When I run the `okta apps create` command I get the error `HTTP 401, Okta E0000015 (You do not have permission to access the feature you are requesting)`. I am superadmin of the org so I am unsure how I do not have permission. I checked out the account features setting to see if maybe I need to turn something on. I turned on the Embedded Sign In Widget feature but that didn't seem to work. Is there something I am missing?


  • DonF.81354 (Customer)

    Hi! I would check a few things. First, ensure the API token itself was generated with an account that has the proper permissions as the token inherits the permissions of the creating account.

     

    Second, please ensure that your call is referencing the correct auth server, and you would want to ensure that your call is referencing the correct url, meaning "https://dev-xxxx.okta.com/api/v1/apps" as an example.

     

    Also, if there are any logs you could provide that might help diagnose the issue. Thanks!

     

    Please let us know if you have any further questions! Thanks!

    Expand Post
This question is closed.
Loading
Cannot create apps from Okta CLI - 401 E0000015