Skip to content

[Feature] Suport max length 1MB node insert #3087

Description

@JackyYangPassion

Feature Description (功能描述)

RESTful API

post /graphs/hugegraph/graph/vertices


http://127.0.0.1:8080/graphs/hugegraph/graph/vertices

body

{
    "label": "node1",
    "id": "node_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1234",
    "properties": {
        "time": "2026-04-23 17:39:03"
    }
}

response

{
    "exception": "class java.lang.IllegalArgumentException",
    "message": "The max length of vertex id is 128, but got 130 {node_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1234}",
    "cause": ""
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiChanges of APIfeatureNew feature

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions