You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to add existing permissions to an existing role via CLI, I'm always getting back 404 Not Found: The resource server does not exist: '' error. The documentation is a bit unclear regarding which ID of the API needs to be passed (the system-generated one or the user-friendly one), but the command fails in both cases anyway.
Reproduction
$ auth0 roles permissions add rol_someroleid -a numeric_api_identifier -p "permission1,permission2"
OR
$ auth0 roles permissions add rol_someroleid -a user_friendly_api_identifier -p "permission1,permission2"
404 Not Found: The resource server does not exist: ''
When running auth0 roles permissions add in the interactive mode, selecting API, role and permission goes fine and the command successfully associates the specified permissions to role. My main question is, how to correctly specify the API identifier and what else could be causing the error? Tried this on different tenants - same result.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi @atsvetkov, thanks for raising this.
The command seems to work fine when done interactively:
But falls apart when done with flags:
I'll be taking a look a this.
Widcket
added
bug
This points to a verified bug in the code
and removed
bug
This points to a verified bug in the code
needs investigation
An issue that has more questions to answer or otherwise needs work to fully understand the issue
labels
Sep 4, 2021
Description
When trying to add existing permissions to an existing role via CLI, I'm always getting back
404 Not Found: The resource server does not exist: ''
error. The documentation is a bit unclear regarding which ID of the API needs to be passed (the system-generated one or the user-friendly one), but the command fails in both cases anyway.Reproduction
Environment
When running
auth0 roles permissions add
in the interactive mode, selecting API, role and permission goes fine and the command successfully associates the specified permissions to role. My main question is, how to correctly specify the API identifier and what else could be causing the error? Tried this on different tenants - same result.Thank you!
The text was updated successfully, but these errors were encountered: