ERROR
When publishing services from ArcGIS Pro with specific Arcade expressions in the Attribute Rule, the process fails with errors:
ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details.
and
ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). Failed. Failed to execute (Publish Service Definition).
The function used in the Arcade expression is not compatible with the version of ArcGIS Server or Portal for ArcGIS.
Use the ArcGIS Arcade version matrix to identify the functions used in the Attribute Rule and the versions of ArcGIS Server and ArcGIS Pro they are compatible with.
For example, the NextSequenceValue() function was introduced in Arcade version 1.4, which means that support for this function in ArcGIS Server and Portal for ArcGIS started at version 10.7. Thus, it is not possible to publish this to ArcGIS Server version 10.6.1 or older if the feature class or table has an attribute rule containing this function.
Get help from ArcGIS experts
Download the Esri Support App