Auth0 Home Blog Docs

Can't retrieve permissions with API

Hi everyone.

Currently, I need to get all permissions for a certain user. But API didn’t works, even in docs. It returns the next error:

{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "Query validation error: 'Additional properties not allowed: _'.",
  "errorCode": "invalid_query_string"
}

I know that requests must be unique, so every query contains (must contain) this ending: ?_=(random number). In another way, it will say that nothing was found on a second request.

So it seems like this /api/v2/users/{id}/permissions API is broken.

I really don’t know how to work with it.

Thank you for any help!

Hi @ikaduk,

Thanks for joining us in the Auth0 Community.

Could you please post the entire request you are making so I can investigate, and please remove any sensitive data.

Thanks,
Dan

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.