Select to view content in your preferred language

What is ERROR 001824

336
3
01-30-2026 05:32 AM
LeoDeng
Frequent Contributor

Hi All,

There is a network dataset (SMP 2025R2) in Enterprise Geodatabase.  I execute the script for create a mobile map package.

import arcpy
import datetime


def get_datetime() -> str:
	return datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')


in_project = r'D:\test_0128\mmpk_test.aprx'
aprx = arcpy.mp.ArcGISProject(in_project)
mapx = aprx.listMaps()[0]


print(f'{get_datetime()}\tStart CreateMobileMapPackage.')


try:
    arcpy.management.CreateMobileMapPackage(
        in_map=mapx,
        output_file=r"D:\test_0128\T2\northamerica.mmpk",
        in_locator=None,
        area_of_interest=None,
        extent='-21814765.8637 -9761502.39781242 21960991.6959 25523078.0673124 PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',
        clip_features="SELECT",
        title="Map",
        summary="",
        description="",
        tags="",
        credits="",
        use_limitations="",
        anonymous_use="STANDARD",
        enable_map_expiration="DISABLE_MAP_EXPIRATION",
        map_expiration_type="ALLOW_TO_OPEN",
        expiration_date=None,
        expiration_message="This map is expired.  Contact the map publisher for an updated map.",
        select_related_rows="KEEP_ALL_RELATED_ROWS",
        reference_online_content="EXCLUDE_SERVICE_LAYERS"
    )


    print(f'{get_datetime()}\tCompleted CreateMobileMapPackage.')

    print(arcpy.GetMessages())
finally:
    print(get_datetime())

 

After 2 days, I got the ERROR and the pi (why is pi?).

LeoDeng_1-1769779593962.png

 

Could anyone explain the error messages for ERROR 001824? I cannot find the error code in arcgis pro 3.5 Help.

LeoDeng_0-1769779259735.png

 

Thanks,
Leo


ArcGIS Pro Version: 3.5.0

ArcGIS Enteprise Geodatabase: SQL Server 2022

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

000184: Spatial index does not exist.—ArcGIS Pro | Documentation

if you need one

Add Spatial Index (Data Management)—ArcGIS Pro | Documentation

there are other links on "Spatial Index" in the help files that may be applicable to your situation


... sort of retired...
0 Kudos
LeoDeng
Frequent Contributor

Hi @DanPatterson ,

The error message is 001824.  Do you think it related to 000184?

Thanks,
Leo

0 Kudos
DanPatterson
MVP Esteemed Contributor

apologies, I snagged the wrong ID.

I can't find it in the list either, so it must be new.  I checked the Support site (public facing only) and 001824 isn't listed, but 001823 and 001825 are.  So either the number is wrong, or it hasn't made it to the error list yet.

Nothing obvious appeared for CreateMobileMapPackage on the support site, but if you haven't looked, it might be worth looking at the entries (Errors or Bug or Community posts)

Esri Support Search Results


... sort of retired...
0 Kudos