Issue
Discovery error:
In payload invalid data source [CredentiallessDiscovery] exist. You need to provide a valid choice value from field [discovery_source] in table [cmdb_ci]
The error wil often be seen when:
- Credentialless discovery is enabled.
- A discovery pattern is triggered which updates discovery_source field to CredentiallessDiscovery
Cause
The CredentiallessDiscovery choice is not present on sys_choice table for Discovery Source column and table cmdb_ci.
Note: This same error can happen for other discovery sources as well. The resolution would be the same as listed in the following "Resolution" section.
Resolution
Note: Please test resolutions on a non-production instance first.
Manually create the record or import attached sys_choice record.