Publishing to SAS® Micro Analytics Service might fail with the error "...specified module ID ... is already in use ..."


In SAS® Model Manager (on SAS® Viya®), you might encounter an error in the response when publishing a module to SAS Micro Analytics Service (MAS):

{"creationTimeStamp":"2019-12-18T12:48:08.495Z","modifiedTimeStamp":"2019-12-18T12:48:11.821Z","createdBy":"sasprovider","modifiedBy":"sasprovider","links":[{"method":"GET","rel":"up","href":"/modelPublish/models/cfd998d7-fe4c-4855-96b9-fff111ac2a87","uri":"/modelPublish/models/cfd998d7-fe4c-4855-96b9-fff111ac2a87","type":"application/vnd.sas.models.publishing.publish"},{"method":"GET","rel":"self","href":"/modelPublish/models/cfd998d7-fe4c-4855-96b9-fff111ac2a87/log","uri":"/modelPublish/models/cfd998d7-fe4c-4855-96b9-fff111ac2a87/log","type":"application/json"}],"version":1,"id":"43315af3-aaba-4faa-881c-e9c1d80017cb","publishName":"Rule set \"54_testy (1.0)\" was published by SAS Intelligent Decisioning.","destinationName":"maslocal","modelName":"54_testy1_0","log":"ERROR==={\"errorCode\":0,\"message\":\"Cannot create the module. The specified module ID \\\"<MODULE NAME>\\\" is already in use.\",\"links\":[],\"version\":2,\"httpStatusCode\":0}"}

The problem can occur when these conditions are true:

There are two workarounds:

A fix for this issue is planned for a future release.