Given:
A capture instance "someschema_sometable"
@minlsn = sys.fn_cdc_get_min_lsn(someschema_sometable)
@maxlsn = sys.fn_cdc_get_max_lsn()
A call to cdc.fn_cdc_get_net_changes_someschema_sometable(@minlsn, @maxlsn, 'all') is returning the error "An insufficient number of arguments were supplied".
This error should be returned when the LSN range is invalid. But I have used an LSN range that is valid according to the built in get_min and get_max functions.
This is occurring on a database that has been restored with keep_CDC and where the CDC jobs were created after the restore.