Sepasoft getRecipeValues script

Hi, I have a recipe base in a sepasoft MES database that I am trying to reference to pull a value based on a scanned part number. I have the scanner module pulling the correct part numbers, but using the getRecipeValues returns nothing. Right now, my syntax is system.recipe.getRecipeValues(“path to my line”, “Part num”, ““)

the line is pulling an empty array, any ideas why?

Update: looks like I am now getting the value, but writing that to a tag is giving me a java exception of TagProviderRPC.write: argument class not valid

I am using system.tag.writeBlocking(tag path, recipeValue) for writing to the tag…

had to do a int(str(recipeValue[0])) command for some reason