laptop and a wrench

Bug

In ArcGIS Pro, using keyword arguments for the tool arcpy.gp.CreateSQLiteDatabase returns the error message, "TypeError: <lambda>() got an unexpected keyword argument 'sqlite_database_path'".

Last Published: October 16, 2019 ArcGIS Pro
Bug ID Number BUG-000125064
SubmittedSeptember 6, 2019
Last ModifiedJune 23, 2025
Applies toArcGIS Pro
Version found2.4.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

This bug references the python function parameters from the ArcMap documentation and attempts to use them in ArcGIS Pro. The ArcGIS Pro documentation must be used when working in ArcGIS Pro. The CreateSQLiteDatabase() python function is correctly returning this error as there is no keyword parameter 'sqlite_database_path'. In ArcGIS Pro, the keyword is 'out_database_path'. Refer to this documentation: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-sqlite-database.htm for more information.

Workaround

If keyword arguments are required for testing purposes, use the tool located in the Management toolbox:

Steps to Reproduce

Bug ID: BUG-000125064

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options