The Statistical Data Collection (SDCX) file contains scripts not supported by the GeoEnrichment service.
Solution
The GeoEnrichment Service only supports Python for scripts. Change the script to a Python expression.
More information
A Statistical Data Collection (SDCX) supports the creation of custom calculations. ArcGIS AllSource supports many scripting languages such as Arcade, Python, and Visual Basic. However, the GeoEnrichment Service only supports Python. As a result, all calculated variables must be created using a Python script.