SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 66159: A "BadRequestException" error occurs in SAS® Intelligent Decisioning when you publish a decision to the SAS® Micro Analytic Server

DetailsHotfixAboutRate It

In SAS Intelligent Decisioning, you can publish a decision to the SAS Micro Analytic Server. When you do, the publish process might fail with the following error:

com.sas.mas.service.impl.JobConsumer     : service [4839930c2ea4db07] Failed to process job 2b2b7a8f-7969-4a99-89b5-d98736444a92 for XXX submitted on XXX.
com.sas.commons.rest.exceptions.http.BadRequestException: Cannot create or update the module. More than one DS2 package was found in the source code.
at com.sas.mas.service.impl.DS2ModuleHandler.parse(DS2ModuleHandler.java:80)
at com.sas.mas.service.impl.ModuleManager.lambda$findAndLoadDependencies$0(ModuleManager.java:258)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at com.sas.mas.service.impl.ModuleManager.findAndLoadDependencies(ModuleManager.java:250)
at com.sas.mas.service.impl.ModuleManager.createJPAModuleInfo(ModuleManager.java:399)

To work around this problem:

  1. Locate the DS2 code file or files in the decision where you have ENDPACKAGE defined. 
  2. Replace it with endpackage and save it.

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Intelligent DecisioningLinux for x645.4Viya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.