zhangzhuoBYS opened a new issue, #1980:
URL: https://github.com/apache/incubator-hugegraph/issues/1980

   ### Problem Type (问题类型)
   
   server status (启动/运行异常)
   
   ### Before submit
   
   - [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 
[FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题
   
   ### Environment (环境信息)
   
   - Server Version: v0.12.x
   - Backend: RocksDB 
   
   
   ### Your Question (问题描述)
   
   基于Python使用REST API执行gremlin语句,创建节点:
   在hubble的WEB客户端执行命令没有问题,能够创建节点成功;
   ```
   hugegraph.traversal().addVertex(T.label,'character','name','fake')
   ```
   基于REST API无法执行成功,响应400,信息:
   ···
   {"exception":"groovy.lang.MissingMethodException","message":"No signature of 
method: 
com.baidu.hugegraph.auth.HugeGraphAuthProxy$GraphTraversalSourceProxy.addVertex()
 is applicable for argument types: (org.apache.tinkerpop.gremlin.structure.T$1, 
String, String, String) values: [label, character, name, 
fake]","cause":"[groovy.lang.MissingMethodException]"}
   ···
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   执行其他查询语句,如`g.V()`或者`g.V.values("name")`时,没有异常
   ```
   
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to