SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 70506: Importing a SAS® Micro Analytic Service module might fail if the module JSON file is large

DetailsHotfixAboutRate It

When you import a large SAS Micro Analytic Service module, the module might fail.

For example, an error might occur if you add a new logging.level configuration for the Micro Analytic Score service as shown in the following image:

Micro Analytic Score service

As a result, the following message might occur in the corresponding sas-microanalyticservice_* log file:

2023-11-10 03:47:38.813 TRACE 59885 --- [0-auto-1-exec-8] com.sas.commons.rest.ExceptionLog        : 43991882 Error Response: ErrorResponse[version=2,status=400,err=0,id=<null>,message=The request body was missing or invalid.,detail=[traceId: c599cc1264823b7c, path: /microanalyticScore/modules/xxxxxx],remediation=<null>,targetUri=<null>,errors=<null>,links=[]]

org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: String length (5043368) exceeds the maximum length (5000000); nested exception is com.fasterxml.jackson.databind.JsonMappingException: String length (5043368) exceeds the maximum length (5000000) (through reference chain: com.sas.transfer.representations.TransferObject$Builder["content"])
    at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:391)

There is no workaround for this issue.

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 Micro Analytic ServiceMicrosoft® Windows® for x645.5Viya
Linux for x645.5Viya
* 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.