Problem Note 61170: The %MM_GetModelFile() score.sas file includes incorrect content, and "errorCode ... 417 ...GetTextFile ERROR: Java exception ..." might be included
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
| SAS System | SAS Model Manager | Microsoft Windows 8.1 Pro 32-bit | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows 8.1 Enterprise x64 | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows 8.1 Enterprise 32-bit | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows 8 Pro x64 | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows 8 Enterprise x64 | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows 8 Pro 32-bit | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows 8 Enterprise 32-bit | 14.2 | | 9.4 TS1M4 | |
| Microsoft® Windows® for x64 | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows 8.1 Pro x64 | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows 10 | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows Server 2008 | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows Server 2008 R2 | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows Server 2008 for x64 | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows Server 2012 Datacenter | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows Server 2012 R2 Datacenter | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows Server 2012 R2 Std | 14.2 | | 9.4 TS1M4 | |
| Microsoft Windows Server 2012 Std | 14.2 | | 9.4 TS1M4 | |
| Windows 7 Enterprise 32 bit | 14.2 | | 9.4 TS1M4 | |
| Windows 7 Enterprise x64 | 14.2 | | 9.4 TS1M4 | |
| Windows 7 Home Premium 32 bit | 14.2 | | 9.4 TS1M4 | |
| Windows 7 Home Premium x64 | 14.2 | | 9.4 TS1M4 | |
| Windows 7 Professional 32 bit | 14.2 | | 9.4 TS1M4 | |
| Windows 7 Professional x64 | 14.2 | | 9.4 TS1M4 | |
| Windows 7 Ultimate 32 bit | 14.2 | | 9.4 TS1M4 | |
| Windows 7 Ultimate x64 | 14.2 | | 9.4 TS1M4 | |
| 64-bit Enabled AIX | 14.2 | | 9.4 TS1M4 | |
| 64-bit Enabled Solaris | 14.2 | | 9.4 TS1M4 | |
| HP-UX IPF | 14.2 | | 9.4 TS1M4 | |
| Linux for x64 | 14.2 | | 9.4 TS1M4 | |
| Solaris for x64 | 14.2 | | 9.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.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2017-10-06 09:39:33 |
| Date Created: | 2017-09-29 09:07:36 |