Welcome to the Alteryx Knowledge Base

Sharepoint 2.7.5 (List) error “<class 'ValueError'>: Required fields cannot be empty”
user

Created/Edited - 11/22/2025 by Susan Kilpatrick | Alteryx

Description

When picking a SharePoint list, users get the error “<class 'ValueError'>: Required fields cannot be empty”

Issue

 Sharepoint 2.7.5 (List) error “<class 'ValueError'>: Required fields cannot be empty”

Environment

Designer 2024.1.1.178 Patch 6

Sharepoint 2.7.5


Prerequisites

DCM set to Optional in User Settings

Cause

Defect TDCE-954 - When Sharepoint List DCM authentication fails for some reason like a typo in the URL, the credential info is put into the UI authentications fields in the tool itself. If the user modifies these fields to fix the authentication failure, they can sign in and select a Sharepoint List in the Tool UI without actually using DCM. When they run the workflow, however, they get the error:

Resolution

TDCE-954 once addressed, will ensure that the url is validated in DCM

Workarounds

  1. Fix the URL issue within DCM Data Source or
  2. Enable DCM Only so users are not presented with the local connection UI

 

Additional Information
Note: For tool versions 2.7.5 and below. A specific site name is required in the URL dialog box when the Datasource is being created. i.e.

https://exampleserver.sharepoint.com/sites/SharePointTest

With DCM Optional, anything other than a complete will result in the error above, even if the url is correct in the tool ui.

Newer versions of Sharepoint Input Tool (List) will allow for specific list to be selected.

Was this article helpful?