Welcome to the Alteryx Knowledge Base
Created/Edited -
When picking a SharePoint list, users get the error “<class 'ValueError'>: Required fields cannot be empty”
Sharepoint 2.7.5 (List) error “<class 'ValueError'>: Required fields cannot be empty”
Designer 2024.1.1.178 Patch 6
Sharepoint 2.7.5
DCM set to Optional in User Settings
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:
TDCE-954 once addressed, will ensure that the url is validated in DCM
Workarounds
- Fix the URL issue within DCM Data Source or
- Enable DCM Only so users are not presented with the local connection UI
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.