Connecting a fine-tuned model in Java

I have fine-tuned a model that works as required in the playground.
In order to build my application, I am using Java and am connecting to Open AI GPT-3. My application works well if I am connecting to one of the existing engines (i.e davinci or curie). However, I am not able to connect to the fine-tuned model. I use the name for the model that is used in the drop down list in the playground but the Java code cannot retrieve the model. Any ideas on where the problem might be?