SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 61170: The %MM_GetModelFile() score.sas file includes incorrect content, and "errorCode ... 417 ...GetTextFile ERROR: Java exception ..." might be included

DetailsHotfixAboutRate It

When you run the %MM_GetModelFile macro (which is provided by SAS® Model Manager), a score.sas file is generated. The file should contain score code (score.sas) from the champion model.

Example invocation:

%MM_GetModelFile(name=score.sas,ProjectId=//ModelManagerDefaultRepo/MMRoot/Auto/Auto,TextFile=dest);

However, the generated file contains incorrect content. Messages such as the following might also be included:

{"errorCode":417,"message":"GetTextFile ERROR: Java exception, get text file failed.","details":[],"remediation":"","links":[],"version":1,"httpStatusCode":400}

The problem occurs when you use the ProjectId= or the VersionId= argument.

 

To work around the problem, instead of using ProjectId=, use the ModelId= argument to specify the location of the champion model.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Model ManagerMicrosoft Windows 8.1 Pro 32-bit14.29.4 TS1M4
Microsoft Windows 8.1 Enterprise x6414.29.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit14.29.4 TS1M4
Microsoft Windows 8 Pro x6414.29.4 TS1M4
Microsoft Windows 8 Enterprise x6414.29.4 TS1M4
Microsoft Windows 8 Pro 32-bit14.29.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit14.29.4 TS1M4
Microsoft® Windows® for x6414.29.4 TS1M4
Microsoft Windows 8.1 Pro x6414.29.4 TS1M4
Microsoft Windows 1014.29.4 TS1M4
Microsoft Windows Server 200814.29.4 TS1M4
Microsoft Windows Server 2008 R214.29.4 TS1M4
Microsoft Windows Server 2008 for x6414.29.4 TS1M4
Microsoft Windows Server 2012 Datacenter14.29.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter14.29.4 TS1M4
Microsoft Windows Server 2012 R2 Std14.29.4 TS1M4
Microsoft Windows Server 2012 Std14.29.4 TS1M4
Windows 7 Enterprise 32 bit14.29.4 TS1M4
Windows 7 Enterprise x6414.29.4 TS1M4
Windows 7 Home Premium 32 bit14.29.4 TS1M4
Windows 7 Home Premium x6414.29.4 TS1M4
Windows 7 Professional 32 bit14.29.4 TS1M4
Windows 7 Professional x6414.29.4 TS1M4
Windows 7 Ultimate 32 bit14.29.4 TS1M4
Windows 7 Ultimate x6414.29.4 TS1M4
64-bit Enabled AIX14.29.4 TS1M4
64-bit Enabled Solaris14.29.4 TS1M4
HP-UX IPF14.29.4 TS1M4
Linux for x6414.29.4 TS1M4
Solaris for x6414.29.4 TS1M4
* 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.