The Statistical Data Collection (SDCX) file contains scripts not supported by the GeoEnrichment service.
The GeoEnrichment Service only supports Python for scripts. Change the script to a Python expression.
A Statistical Data Collection (SDCX) supports the creation of custom calculations. ArcGIS Pro 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.