跳转到主内容

CONTAP-210232:为 ONTAP S3 或 Oauth2 API 创建 REST 角色条目失败,出现无效 URI 路径错误

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

问题描述

尝试为包含数字的 REST API 创建自定义 REST 角色条目失败,并显示以下错误消息:
[错误:命令失败:指定的 URI 路径无效或不受支持。验证
URI 是否仅包含有效字符。]
示例:
1. cluster1::> security login rest-role create -role s3admin1 -api
"/api/protocols/s3/services" -access all
错误:命令失败:指定的 URI 路径无效或不受支持。
验证 URI 是否仅包含有效字符。
2. cluster1::> security login rest-role create -role s3admin2 -api
"/api/protocols/s3/buckets" -access all -vserver vs1
错误:命令失败:指定的 URI 路径无效或不受支持。
验证 URI 是否仅包含有效字符。

3. cluster1::> security login rest-role create -role oauth2user -api
"/api/security/authentication/cluster/oauth2" -access all
错误:命令失败:指定的 URI 路径无效或不受支持。
验证 URI 是否仅包含有效字符。

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.