Create new publication and add to TranslationJob

I am working on creating a new publication, followed by creating a TranslationJob and adding the publication to it. I have been able to make it work with an existing publication, but for a new publication, I keep getting an error about empty baseline

(

<?xml version="1.0" encoding="utf-16"?><baseline ref="GUID-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"><objects><object ref="GUID-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" source="expand:None" type="ISHNone"><reportitems><reportitem reportresult="ObjectMissingInBaseline" /></reportitems></object></objects></baseline>

). I am completing my baseline as follows:

List<string> languages = new List<string>() { "es-US" };

startLogicalIds.Add(Utility.getIshFieldValue(xmlPubList, "FISHMASTERREF", pub));

string pubBaselineID = Utility.getIshFieldValue(xmlPubList, "FISHBASELINE", pub);

 string baselineID = baseline.CompleteBaselineByCandidateAndMode(baseline.GetBaselineId(pubBaselineID), "", Trisoft.Utilities.ServiceReferences.Baseline25ServiceReference.BaselineAutoCompleteMode.ISHLatestAvailable, startLogicalIds, emptyList, languages, languages, languages, resolutions);

Thanks in advance for your help.