Auth0 Management API Error

I am trying to get a user session with management API but I am getting feature not enabled error even though the auth token as necessary permissions

Hi @nikhs186,

Welcome to the Auth0 Community!

Could you please share what Management API endpoint call you made?

And could you verify how you obtained the token?

Thanks,
Rueben

This is the endpoint /api/v2/sessions/:id. I got token from api dashboard for testing which contains all the required permissions but I am getting this error {
“statusCode”: 403,
“error”: “Forbidden”,
“message”: “Subscription missing entitlement”,
“errorCode”: “feature_not_enabled”
}

Hi @nikhs186,

I have just reviewed the tenant associated with your email address and found that you are currently on the free subscription plan.

Sadly, the api/v2/sessions/{sessionId} endpoint is only available to customers on the Enterprise subscription plan.

This is mentioned in our Manage User Sessions with Auth0 Management API documentation.

Let us know if you have any follow-up questions.

Thanks,
Rueben

1 Like