Attempts to upload or publish models to and from SAS® Model Manager or SAS® Model Studio fail with errors


The following error messages can occur in SAS Model Manager when you try to import a Model:

The Astore model (Reg) user interface (UI) displays the following error:

Import Models - A Model with the ID "" could not be found

The non-astore model (tree) UI displays the following error:

Import Models - Failed to import zip file

In addition, the following error message can occur in SAS Model Studio when you try to publish a model:

The models for the project (ID <<PROJECT ID>>) could not be registered to the common model repository. pq: insert or update on table "mm_model_file" violates foreign key constraint "model_file_fk01" path: /modelRepository/models correlator: 

There is no workaround for this issue.

Check the version of the SAS Model Manager service. If the service version is 5.11.3, you need to upgrade to 5.11.4. In addition, upgrade the SAS Model Publish service to 4.37.12