CONTAP-210232: Creating a REST role entry for ONTAP S3 or Oauth2 API fails with invalid URI path error
Issue
Trying to create a custom REST role entry for a REST API containing a digit fails with the following error message:
[Error: command failed: Specified URI path is invalid or not supported. Verify
that the URI contains only valid characters.]
Example:
1. cluster1::> security login rest-role create -role s3admin1 -api
"/api/protocols/s3/services" -access all
Error: command failed: Specified URI path is invalid or not supported.
Verify that the URI contains only valid characters.
2. cluster1::> security login rest-role create -role s3admin2 -api
"/api/protocols/s3/buckets" -access all -vserver vs1
Error: command failed: Specified URI path is invalid or not supported.
Verify that the URI contains only valid characters.
3. cluster1::> security login rest-role create -role oauth2user -api
"/api/security/authentication/cluster/oauth2" -access all
Error: command failed: Specified URI path is invalid or not supported.
Verify that the URI contains only valid characters.