Welcome to the Alteryx Knowledge Base

DCM Sync Error after migration from MongoDB to SQL Server: Value cannot be null. Parameter name: value
user

Created/Edited - 8/28/2025 by Tim Randall | Alteryx

Description

After migrating Alteryx Server from Mongo DB to SQL Server persistence, the following error occurs when syncing DCM from Designer to Server: Value cannot be null. Parameter name: value

Issue

Mongo to SQL workflow migration utility is not setting valid default empty values for certain fields pertaining to DCM connections, resulting in error when syncing Designer post-migration.

Environment
  • 2024.1+
  • SQL persistence
    • only occurs with a migrated persistence, does *not* occur with a new SQL persistence
Cause
  • Two possible defects:
    • TWI-337 - Fill null values with defaults
    • TWI-1878 - DCM Sync Error "Value cannot be null. Parameter name: value" Post Migration to SQL due to invalid default values set during migration
Resolution

Resolution 1

Confirm you are utilizing the most recent version of the Mongo to SQL Migration utility from the Alteryx License Portal that was fixed as a result of defect #TWI-337

 

Resolution 2

If Resolution 1 does not fix the issue or you have confirmed you are already using the most recent version of the utility, run the following query to fix any remaining default values addressed that will be addressed in defect #TWI-1878:

UPDATE AlteryxGallery.alteryx_server.DCMECredentials
SET SecretsAsJson = '{}'
WHERE SecretsAsJson IS NULL
Was this article helpful?