* dev: error response for duplicate items created through external apis * dev: return identifier and also add the validation for state * fix: validation for external id and external source