Problem Note 69601: The SAS® Model Implementation Platform %MIP_REST_SUBMIT_RUN macro returns "ERROR: The run ... cannot be created. Reason: The name could not be found"
The SAS Model Implementation Platform %MIP_REST_SUBMIT_RUN API macro call returns the following error when multiple versions of the modeling system exist with the same name:
ERROR: The run "runName" cannot be created. Reason: The name could not be found.
ERROR: The run "runName" could not be submitted.
For example, you encounter this issue when you complete steps similar to the following:
- Create a Modeling System named "Retail_Hazard" with version 1.0.0.2.
- Copy the Retail_Hazard Modeling System and change the version to 1.0.0.3.
- Submit the %MIP_REST_SUBMIT_RUN API macro.
Here is an example log:
119 %mip_rest_submit_run(
MLOGIC(MIP_REST_SUBMIT_RUN): Beginning execution.
MLOGIC(MIP_REST_SUBMIT_RUN): This macro was compiled from the autocall file
<SASHome>\SASFoundation\9.4\modimpsvr\ucmacros\mip_rest_submit_run.sas
120
121 request_json_file="<JSON PARAMETERS FILE>.json",
122
123 output_ds=work.run_info
124
125 );
MLOGIC(MIP_REST_SUBMIT_RUN): Parameter REQUEST_JSON_FILE has value "<JSON PARAMETERS FILE>.json"
MLOGIC(MIP_REST_SUBMIT_RUN): Parameter OUTPUT_DS has value work.run_info
MLOGIC(MIP_REST_SUBMIT_RUN): %GLOBAL MI_RUN_NAME MI_RUN_INSTANCE
MLOGIC(MIP_IS_BLANK): Beginning execution.
MLOGIC(MIP_IS_BLANK): This macro was compiled from the autocall file
<SASHome>\SASFoundation\9.4\modimpsvr\ucmacros\mip_is_blank.sas
MLOGIC(MIP_IS_BLANK): Parameter MAC_VAR has value request_json_file
SYMBOLGEN: Macro variable MAC_VAR resolves to request_json_file
MLOGIC(MIP_IS_BLANK): Ending execution.
MLOGIC(MIP_REST_SUBMIT_RUN): %IF condition %mip_is_blank(mac_var=request_json_file) is FALSE
MLOGIC(MIP_REST_SUBMIT_RUN): %LOCAL _SOURCE_
MLOGIC(MIP_REST_SUBMIT_RUN): %LET (variable name is _SOURCE_)
MPRINT(MIP_REST_SUBMIT_RUN): proc lua infile='sas.risk.modimp.rskmimpl_rest_run_macro_entry';
MPRINT(MIP_REST_SUBMIT_RUN): run;
NOTE: Resuming Lua state from previous PROC LUA invocation.
NOTE: 400 Bad Request
NOTE: PROCEDURE HTTP used (Total process time):
real time 0.05 seconds
cpu time 0.00 seconds
ERROR: The run "retail_hazard_run" cannot be created. Reason: The name could not be found.
ERROR: The run "retail_hazard_run" could not be submitted.
A hot fix is planned for this issue.
Operating System and Release Information
SAS System | SAS Model Implementation Platform Server | Windows 7 Professional 32 bit | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Windows 7 Home Premium x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Windows 7 Home Premium 32 bit | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Windows 7 Enterprise x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Windows 7 Enterprise 32 bit | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows Server 2019 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows Server 2016 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows Server 2012 Std | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows Server 2012 R2 Std | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows Server 2012 R2 Datacenter | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows Server 2012 Datacenter | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows Server 2008 for x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows Server 2008 R2 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows Server 2008 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows 10 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows 8.1 Pro x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows 8.1 Pro 32-bit | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows 8.1 Enterprise x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows 8.1 Enterprise 32-bit | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows 8 Pro x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows 8 Pro 32-bit | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows 8 Enterprise x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft Windows 8 Enterprise 32-bit | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Microsoft® Windows® for x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Windows 7 Professional x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Windows 7 Ultimate 32 bit | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Windows 7 Ultimate x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
Linux for x64 | 3.2 | 3.3 | 9.4 TS1M6 | 9.4 TS1M8 |
*
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.
The SAS Model Implementation Platform %MIP_REST_SUBMIT_RUN macro returns the following message:
"ERROR: The run 'runName' cannot be created. Reason: The name could not be found.
ERROR: The run 'runName' could not be submitted."
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2023-02-21 12:58:37 |
Date Created: | 2022-10-05 09:59:33 |