Skip to main content
NetApp Knowledge Base

CONTAP-210232: Creating a REST role entry for ONTAP S3 or Oauth2 API fails with invalid URI path error

Views:
120
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:
4/5/2025, 4:10:49 AM

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.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.