这是我非常基本的代码:
def get_role_permission
query = RallyAPI::RallyQuery.new()
query.type = "userpermission"
query.fetch="Role"
query.page_size=20
query.limit=20
result = @rally.find(query)
#result = build_query("UserPermisson","Role,User","","(Role= \"Viewer\")")
if(result.length!=0)
puts "Got some result"
else
puts "No result"
end
end
此函数返回:
`send_request': RallyAPI - An issue occurred (HTTP-507) on request - https://rally1.rallydev.com/slm/webservice/1.37/userpermission.js. (StandardError)
Response was: <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 507 Insufficient Storage</title>
</head>
<body><h2>HTTP ERROR 507</h2>
<p>Problem accessing /slm/webservice/1.37/userpermission.js. Reason:
<pre> Insufficient Storage</pre></p><hr /><i><small>Powered by Jetty://</small></i> <br/>
</body>
</html>
以前有人遇到过这样的错误吗?我假设我的查询是正确的,并且我没有查询任何受限属性。