Failed to convert user vertex id for parameter g - error message

Hi this same parameter query was working fine on an earlier Virtual Box install but when I reloaded my graph into into a Docker session and tried to run it in Graph Studio i’m faced with this error.

“Failed to convert user vertex id for parameter g”

Here’s the query I have in a file called show_edges.gsql

CREATE QUERY show_edges(VERTEX g) FOR GRAPH nwis {
ListAccum @@edgeList;

Start = {g};
show_Edges = SELECT t
    FROM Start:s -(requires:e) ->goals:t

        accum @@edgeList += e;

print @@edgeList;

}

=============================================

I have other non parameter queries that are working fine but I can’t get any of parameterized queries working like this one above. Please help thanks!

William Lee

Hi William,

The error means TigerGraph cannot find the provided g vertex. You can use Explore Graph page to check if the vertex exists.

Best,

Renchu

Thanks for responding… Please check out the 2 images I’ve attached… You can see the vertex “Ops Management” showing up in a non parameterized query in the first image… But in the 2nd image that vertex isn’t showing and returning the same “Failed to convert…” error… Any other ideas?


I think i found the problem… I have a CSV table formatting function that added spaces to make it align into a column… I’ll remove that and restart and let you know. thanks