The issue was due to "DispatcherPassError" config on dispatcher. It was returning generic response for 409. The Duplicates were working when uploaded directly via IP.
Updated the config to
DispatcherPassError 401-408,410-411,413-417,500-511
Its now working via Domain as well