Apply ofbit file java error

Good afternoon,

I am doing the processing of Sent1 IW GRC data from the snappy tools in python, so far I have some functions working except the apply orbit file:

import snappy
#from snappy import CompressError
from snappy import ProductIO
from snappy import HashMap
import os, gc
from snappy import GPF
HashMap = snappy.jpy.get_type(‘java.util.HashMap’)
#Loop through all SAR data sub folders that are located within a super folder

base = '/home/nicgar/SAR_Global/Medellin/' #Main folder
for folder in os.listdir(base):
   output = base + folder + "//"  
   timestamp = folder.split("_")[4] 
   date = timestamp[:8]

#Then, read in the Sentinel-1 data product:

   sentinel_1 = ProductIO.readProduct(output + "//")    
#Loop throgh polarizations in the image
   parameters = HashMap()   
   parameters.put("Orbit State Vectors", "Sentinel Precise (Auto Download)")
   parameters.put("Polynomial Degree", 3)    
   orbit = output + date + "_orbit_"
   target_0 = GPF.createProduct("Apply-Orbit-File", parameters, sentinel_1) 
   ProductIO.writeProduct(target_0, orbit, 'BEAM-DIMAP')

and my output:

Traceback (most recent call last):

File “/home/nicgar/SAR_Global/”, line 33, in
target_0 = GPF.createProduct(“Apply-Orbit-File”, parameters, sentinel_1)

RuntimeError: ambiguous Java method call, too many matching method overloads found