Tried the POST command with inline data for creating Vertex named User as specified in the documentation. How do we fix this error.
Request :
curl -X POST -H “Authorization: Bearer b29g47t9fo34ah8oio9j0leurhnav6do” -d ‘{“vertices”:{“User”:{“id6”:{“id”:{“value”:“id6”}}}}}’ “http://localhost:9000/graph/ManiRTest”
Response :
{“version”:{“edition”:“enterprise”,“api”:“v2”,“schema”:4},“error”:true,“message”:“The input vertex type: ‘User’ is not a valid vertex type.”,“code”:“REST-30200”}