Record invalid for a route

I want to have two different files to upload and apply different routes to at different run times in the code (e.g. sensors upload every 5 mins, power usage every 30 mins) I am trying to add a second upload by defining a filename on the note.add (see code below). It compiles and runs and the data appears to upload correctly under that notefile name powerusage.qo but the route fails:

{“error”:“request failed - Record invalid. Failed to save data to uuuuuuuu/groups/groupblue. data missing required value”}

in my code:
J *req = NoteNewRequest(“note.add”);
JAddStringToObject(req, “file”, “powerusage.qo”); // <— Key for Routing
J *body = JAddObjectToObject(req, “body”);

in the JSON tab of the event
“file”: “powerusage.qo”,
“body”: {
“charge”: 0.0002131999935954809,
“current”: -0.00004760742012877017,
“voltage”: 4.154165744781494
},

In the route I selected the notefile powerusage.qo

on the route in the JSON expresssion:

{
“feeds”:[
{
“key”:“voltage”,
“value”:voltage
},
{
“key”:“current”,
“value”:current
},
{
“key”:“charge”,
“value”:charge
}
]
}

thanks

I found the problem, I forgot to preface the value with body, e,g, value":body.voltage