gremlin-go, MergeE, and Neptune

I couldn't find a good example for using the MergeE step without having the IDs of the vertices. I've tried different variations, but this is the current state of the query I am running:
var g *gremlingo.GraphTraversal
// ...
g.MergeV(map[interface{}]interface{}{
    gremlingo.T.Label: "thing",
    "name":            "ABC123",
})
// ...
g.MergeE(map[interface{}]interface{}{
    gremlingo.T.Label:        "connect",
    gremlingo.Direction.From: gremlingo.T__.V().Has("thing", "name", "ABC123").Id(),
    gremlingo.Direction.To:   gremlingo.T__.V().Has("thing", "name", "ABC456").Id(),
})

The MergeV and the MergeE are being combined in a single query.
The output from Neptune is the following:
E0502: error in read loop, error message '{code:87 message:{"code":"InternalFailureException","requestId":"<omitted>","detailedMessage":"null: .mergeE(LinkedHashMap)"} attributes:map[]}'. statusCode: 87

Does anyone know what this error means?
Additionally, I'm pretty sure there's something wrong with my query, but I can't seem to figure it out.
If anyone knows what the problem is, please let me know.
Was this page helpful?