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:

input:
import snappy
#from snappy import CompressError
from snappy import ProductIO
from snappy import HashMap
import os, gc
from snappy import GPF
#%%
snappy.GPF.getDefaultInstance().getOperatorSpiRegistry().loadOperatorSpis()
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):
   gc.enable()
   
   output = base + folder + "//"  
   timestamp = folder.split("_")[4] 
   date = timestamp[:8]

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

   sentinel_1 = ProductIO.readProduct(output + "//manifest.safe")    
   print(sentinel_1)
#Loop throgh polarizations in the image
   
###APPLY ORBIT FILE
   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:

None
Traceback (most recent call last):

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

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