As you might understand, there is not a lot that I can guess from this description alone - need a snippet of code that fails to work at least and a minimal reproducible project at best.
I sent you an email with a link to the project, let me know what you find out. Cheers, YAL.